Applets normally are run in a browser via the
java plugin. Is that how yours is run?
Not sure how you would prevent the client/user from openning another browser window and loading another copy of the HTML page with the applet.
Is there a specific problem that you are trying to solve?