Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Unloading JVM

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have these params in my applet html file:
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_archive" VALUE="tsapplet.jar">
So i'm caching my applet in the jvm for faster applet downloads. I have one html file with a link to the applet which opens in another window. I get a problem when i do the ff steps:
1) I click the applet link and it opens my applet html file in another window. "no problem"
2) I click close on my applet which calls a javascript window.close on the window containing my applet. "no problem"
3) I click on my applet link again (as in step 1). This time the window containing my applet freezes up. Nothing happens. "problematic"
Question: Is there a way i can unload the applet from the plugin when i destroy my applet, is there any other cleanups my applet destroy method should do so when i click on the applet link (2nd time) my window opens up the applet instead of freezing.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic