My top-level container is MainFrame (JFrame)
. I want to be able to popup another JFrame with a JPanel that has two JTextFields from MainFrame
.
The thing is: I need to be able to block the EDT from the Swing GUI. This is reminscent of using a JOptionPane to block the EDT until the user has either hit OK
or CANCEL
.
The question is: Is it possible to create a "custom" JOptionPane with user-defined values that will block the EDT?
Thanks