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 Caching - ClassLoader

Status
Not open for further replies.

TheButcher

Programmer
Jul 6, 2001
11
US
I have this applet and he works quite nicely. When I leave the page and "browse the net", I decide to come back to my applet. The applet is no longer nice and decides not to work. After experimenting, I found that if I "clear classloader cache" by choosing "x" on the java console, it will work when I go back to it again. My problem is...I cant ask everyone who views this applet to pull up their java console and hit X if they want to go back to it. So does anyone know how to stop my applet from caching. Turning off caching in the browser and plugin do not work....already tried it. Please someone...Please Help!
 
Hmm, I'd look into it's init() methods, and start and stop methods, init is only called once, then generally, every time the browser gets back to your applet, start() is called, stop() is generally called everytime the browser leaves the applet. Anyways, sounds like a problem there.

JavaDude32
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top