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
You have set for JDialog#setModal or JDialog#ModalityTypes, maybe with Dialog.ModalityType APPLICATION_MODAL