If you use HotJava (current is 1.1.5) for some reason ;-) it automatically
re-downloads the classes/jars specified in the Applet tag. I'm not sure why
-- I guess it is realted to the browser's cache, but caching of html is
still on... It just works...
Christopher Hinds wrote:
> Since the browser caches HTML pages in a history list of some type,
> every
> you time leave and return to the HTML page, the applet will be activated
> ( start() ) and deactivated ( stop() ) respectively. Therefore you can
> try clearing the cached pages which should force the embedded JVM
> to call the destroy() on the applet. Or you can uses JavaScript to
> clear the browser cached history
> list if the browser supports JavaScript.
>
> Cheers
> Chris
>
> Thor Erik Karlsen wrote:
>
> > This is a proplem that has been irritating me since the day I started
> > developing applets(not that long ago). Is there a WORKING way an
> > applet can destroy itself and tell the browser that its dead? I always
> > have to start the browser again and reload the applet during
> > development. Destroy() dont work. What im looking for is some code
> > within the applet that solves the problem once for all. Thor Erik
> > Karlsen
> > Catalyst ONE AS
> > [EMAIL PROTECTED]