In general an application should only use a single main JFrame. For other popup windows you should use a JDialog. In this case you would want to use a model JDialog which will force the user to close the dialog before continuing.
Joined: Jan 26, 2013
sry..i dun get it....can write down some sample code?
Joined: Jun 13, 2009
You create JDialogs the same way you create a JFrame.