File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Unloading JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Applets
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unloading JVM
 
Similar Threads
Mnemonics for menus in the applet
Applet with custom classes
Setting the path of servlet and jsp pages
Unable to play media inside my JSP
Signing applets