Have an invisible Applet (this howto is deprecated)Tag(s): DEPRECATED
See this interesting article :
http://windyroad.org/2006/08/14/reintroducing-javascript-and-hidden-applets-jaha/
The recommended way is to a CSS style to hide the Applet,
<applet id="applet_name" code="path_to_applet_class/class_name" style="width: 1px; height: 1px; float: left;" mayscript></applet>
.. or you can insert your Applet into an invisible frame. See this HowTo for an example.