How to stop applet from application?
I have a jsf application that has an applet embedded in one of the pages.
When I navigate away from the page then come back, I get an error when the applet tries to reload (device in use error).
What I need to do is dispose the applet when the page changes.
I suspect that I need to add something in the destroy() method for the page, but I do not know how to turn off the applet from within the application.
Any clues as to how I can dispose of the applet?
Or, alternatively, keep it from reloading when navigating back to the page?

