How to use a custom jDialog ?

Hi to everybodyI have a little custom jdialog with only a jTextField inside.I'd like to know how to call it from another JFrame and then read the text which the user have written.Any advices ?Thank u in advance and greetings from ItalyAndrea
[284 byte] By [BorgoJa] at [2007-10-3 3:49:02]
# 1
Hitextfieldname.getText(); can ues to get the texts in you JTextFieldI can't understand what you mean by "how to call it from another JFrame "..thanks
Pathuma at 2007-7-14 21:46:10 > top of Java-index,Desktop,Developing for the Desktop...