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:
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL