wood burning stoves 2.0*
The moose likes Applets and the fly likes Unloading JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Unloading JVM" Watch "Unloading JVM" New topic
Author

Unloading JVM

Charlie Boss
Ranch Hand

Joined: May 22, 2001
Posts: 44
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.


Java Rawks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unloading JVM
 
Similar Threads
Unable to play media inside my JSP
Signing applets
Mnemonics for menus in the applet
Setting the path of servlet and jsp pages
Applet with custom classes