How do I turn off applet in page

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?

[488 byte] By [burferda] at [2007-11-27 5:32:47]
# 1
I'm sure there is some way to turn off an applet from within an application.Does anyone have ANY clues as to how this can be done.Is there maybe some kind of javascript that can be executed when the page closes or something like that?I really need to find out.
burferda at 2007-7-12 14:59:18 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...