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.
MainFrame (JFrame)
MainFrame
Use a JDialog
You can set it to be modal in this JDialog(Frame, modal) constructor