I mistakenly created a Swing project, using more than 10 JFrames
, every thing is working fine. but in many cases i was feeling like creating multiple JFrames
was not good. and i have also figured out that creating Swing
project with multiple JFrames
is not a good practice too.
So now it takes lot of time to rewrite the code. but my simple requirement is, i just want to convert my JFrame
to JDialog
and set it as setModalityType(ModalityType.APPLICATION_MODAL);