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
Look into JDialog
You can extend JDialog and call super in your constructor with the second parameter set to true
JDialog
true
super(parent, true);