How do I refresh applet?
I'm working on a Java version of a Flash gag I saw a few months ago, and I've done a pretty good job of recreating the effect.
My problem is that when I offer the user a chance to "Go Back" or play the activity a second time, the java applet won't initialize. So the player has to quit the browser and start from scratch.
Is there something I can do to my activity to make the applet reload each time?
FYI: The activity can be seen here:
From what I understand, once an applet is loaded, if you want to load it again, the browser has to be closed, then opened again.
Nice applet ;-)
Remember that APPLET has 4 methods, init(), start(), stop(), destroy( );
My hunch is that you'll want to implement them
in your applet somewhere so it will refresh:
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center