Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet closing all browser windows

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are running an applet in IE 5.5 and above. From our home page we open a new browser window which contains the <OBJECT> tag to load the applet. When we close the applet window the applet does a System.exit(0) which causes both browser windows to close. If I leave out the System.exit(0) the applet window closes and home page browser does not close but the applet seems to still be running as the amount of memory does not go down and the Java console remains up. If I try to start the applet again from the home page browser the applet starts to come up but hangs. How can I get the applet to gracefully go away to free up the memory but not close the home page browser window?
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was wondering if you had found a way of getting round this I have exactly the same problem - one browser window contains our applet and when it closes it closes the parent browser window? Any ideas?
    Bookmark Topic Watch Topic
  • New Topic