I have a JInternalFrame
and I need to get some Information from user (a JFileChooser
& two JTextfield
).
Using another JInternalFrame, application continues running and doesn't wait for input.
How can I open a JDialog
as a internal dialog?
Asked
Active
Viewed 859 times
0

Ariyan
- 14,760
- 31
- 112
- 175
1 Answers
1
Dialogs that are internal frames should be implemented using JInternalFrame (or JOptionPane) not JDialog

WineGoddess
- 412
- 3
- 11
-
But by using JInternalFrame app. continues running and doesn't wait for input; and about JOptionPane, Can I have a JFileChooser and Custom JtextFields on it? – Ariyan Jun 19 '12 at 07:57
-
A `JOptionPane` can have a button to launch a file chooser, as well as multiple components. – Andrew Thompson Jun 19 '12 at 08:09