The workaround for this problem involves using Sun�s free HTML Converter(
http://java.sun.com/products/plugin/1.3/docs/html_converter.html) for use with Swing applets. The HTML Converter is a tool that automatically converts applet tags to the format required by the
Java Plug-in, directing the browser to install and run the plugin jvm instead of its own jvm. You create a standard applet tag to display your Swing applet:
<APPLET CODE = "SwingApplet.class" WIDTH = 500 HEIGHT = 550>
<PARAM NAME = CODE VALUE = �SwingApplet.class" >
<PARAM NAME = CODEBASE VALUE = "classes" >
<PARAM NAME = ARCHIVE VALUE = "SwingApplet.jar" >
<PARAM NAME = TYPE VALUE ="application/x-java-applet;version=1.3">
</APPLET>
After running the HTML Converter your original applet tag is automatically commented out and replaced with an OBJECT (IE) and EMBED (Netscape) tag, as shown:
< !--"CONVERTED_APPLET"-->
< !-- CONVERTER VERSION 1.3 -->
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 500 HEIGHT = 550 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0" NAME="SwingApplet">
<PARAM NAME = NAME VALUE = "SwingApplet.class" >
<PARAM NAME = CODE VALUE = " SwingApplet.class" >
<PARAM NAME = CODEBASE VALUE = "classes" >
<PARAM NAME = ARCHIVE VALUE = "SwingApplet.jar" >
<PARAM NAME=TYPE VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="scriptable" VALUE="false">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3" NAME="SwingApplet" CODE = " SwingApplet.class" CODEBASE = "classes" ARCHIVE = "rtf.jar" WIDTH = 500 HEIGHT = 550 type = "application/x-java-applet;version=1.3" scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html">
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
It works like a charm.
Julia
[This message has been edited by Julia Reynolds (edited June 29, 2001).]