Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continue executing main code after a modal JDialog was shown

Status
Not open for further replies.

marcela24

Programmer
Feb 17, 2003
72
0
0
NL
my main have this code:
System.out.println("Before:");
celes.print();
cassino.print();
editor.editProperties();
System.out.println("After:");
celes.print();
cassino.print();

my "editor" class is a JDialog that was set to be modal.

The problem is that after i leave my applet the mais function does not continue executing the rest of the code. Do you have any idea of what can i do to correct it?

thanks.
 
Check to see how you're leaving the JDialog. You should be doing a dispose() or a hide().

Make sure you're not doing a System.exit().
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top