Applets don't seem to stop on Safari when I navigate away from the page. isActive() remains true and stop() is not called. If the tab is closed, then stop() does get called then.
Haven't checked to see if this is generic or Safari specific. I thought the whole idea of start and stop was to suspend the applet when it isn't being displayed. I'm noticing because my sound generation isn't stopping, and as this is actively driven by the game thread.
There is a demo applet on the oracle website at
http://docs.oracle.com/javase/tutorial/deployment/applet/lifeCycle.htmlThis prints out debug info
You need to have the console open to see what's going on.
I expected to get a stop() when navigating away from the page and a start if the page is redisplayed. I thought that destroy() would be called to unload resources. However I only get stop() when the tab is closed. Is there a way to determine whether an applet is currently displayed?