Is the [X] at the top right corner part of the JApplet or container with the JApplet?
I need to make an action happen when the user attempts to close out of the JApplet and I'm not sure of how to properly access the window-closed button within JApplet context.
Edit: Sorry if I wasn't being clear. I want to access the command associated with the JApplet window-closed box. Something like a listener-command for the window associated with the JApplet's window-closed box.