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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet exit() closes the parent window too!

Status
Not open for further replies.

FOR111

Programmer
Sep 29, 2005
103
MT
Hi All,

I need to figure out how i can close one window containing the applet. This is becuase if i have a window which opens a seperate pop-up window containing the applet and from the applet i click exit..the pop-up closes and so does the parent window!

Unfortunelty this also happens in Firefox..were a number of tabs are also closed!

Any ideas how i can close the current window holding the applet only!?

Regards

Nick
 
Basically you want to close the applet, not exit the application. I suspect that somewhere you're calling system.exit(). Try commenting that line out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top