I am trying to disable the \"main\" JFrame when the new frame pops up. I want it so you can not click or drag anything on that frame. I tried making the new fra
JFrame
If you want to use multiple JFrames you could use the method setEnabled() when you open the other JFrame.
frame.setEnabled(false);
Otherwise you should go with JDialog and its method setModal().