Refresh/ Reload in browser crashes applet.

Started by swuth, August 06, 2009, 19:50:49

Previous topic - Next topic

swuth

Hi,

I have a game applet that is pretty much done, the remaining problem is the fact that if I hit reload/refresh. or navigate away from the applet and come back, the applet crashes. Is there a way to check for "refresh/reload, navigate away etc, so I can shut down the app properly and force it to reload when you go back?

Thanks

elias4444

Just had this problem recently myself. I was kindly directed to the AppletGears demo in the source code package. Check out how they start/stop (using notify's). Do it that way, and it'll fix your problem.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

swuth

Awesome thanks,  where do I find that source code? :)

CH

elias4444

Go to the LWJGL downloads and download the source package.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com