Customising JDialogs (Urgent!!!)

I am having problems with customising a JDialog to my own needs. I want a modal JDialog box that has a JTextField and 2 JCheckBoxes and the input typed in the JTextField as well as the selections made on the JCheckBoxes are passed to the main window from which the JDialog box was opened.

i need help urgently.

[330 byte] By [dupsy] at [2007-9-26 1:17:38]
# 1
What kind of trouble are you running into? JDialogs are not all that different from creating a JFrame with appropriate Listeners for the GUI elements displayed.
Eric.Vautier at 2007-6-29 0:47:26 > top of Java-index,Archived Forums,New To Java Technology Archive...