Reset Java Applet on page reload
Posted
by tommy-susanto
on Stack Overflow
See other posts from Stack Overflow
or by tommy-susanto
Published on 2010-03-12T12:29:12Z
Indexed on
2010/03/12
13:47 UTC
Read the original article
Hit count: 399
I need to quit firefox and restart it in order for the applet to be refreshed... its anoying since i'm still programming it an the class files changes... am i missing some codes which makes it unable to refresh the applet and still take the one from the cache???
So I have a .jar applet in my website, a simulation game that spawns army whenever user clicks on the screen... however whenever I refresh the page, the previous army are still there on the screen.. I want it to be refreshed (as if we're just starting to run the application the first time).
I already tried pressing CTRL+f5 but the trick doesn't seem to work
I'd basically like to do it automatically using scripts or something, so that it won't require user to manually press some button on the keyboard
Any Suggestions?
I'd really appreciate it
Thank you....
© Stack Overflow or respective owner