Allow Only One Jframe window if try to open other than blinking jframe window in java swing **
HOW
**
Allow Only One Jframe window if try to open other than blinking jframe window in java swing **
HOW
**
I can only guess what your question is supposed to mean, but my best guess would be that you want to create a modal frame. JFrame
doesn't support this type of frame. You'll have to use JDialog
(http://docs.oracle.com/javase/7/docs/api/javax/swing/JDialog.html) instead.
JDialog dialog = new JDialog(parentFrame , "someTitle" , true);
... //create dialog
dialog.setVisible(true);
//now the parentFrame is blocked until the dialogwindow is closed
Allow Only One Jframe window if try to open other than blinking jframe window in java swing