Trouble using JDialog and JInternalFrame. Please help.

Hi,

Please tell me how to open a JInternalFrame with a JButton click event.

The JButton is on a JDialog.

I'm doing a project in which, when I select an item from the JCombobox and click on the JButton (both components in JDialog), the JInternalFrame should load. But this is not happening. I'm unable to add the JInternalFrame to the existing JDesktopPane instance through the JDialog.

Please help. :)

[434 byte] By [deepak.variera] at [2007-11-27 7:10:43]
# 1
http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html
Jamwaa at 2007-7-12 19:02:15 > top of Java-index,Java Essentials,Java Programming...
# 2
What exactly is the problem (besides not asking in the Swing section)? Does something not work, don't you know how to write the code?
CeciNEstPasUnProgrammeura at 2007-7-12 19:02:15 > top of Java-index,Java Essentials,Java Programming...