This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.