 <p>The problem was solved by adding MAYSCRIPT to the applet tag in the html.</p> <p>Like this:</p> <pre><code>&lt;applet code="com.example.MyApplet.class" name="myapplet" codebase="http://localhost:8080/example/classes" align="baseline" width="200" height="200" MAYSCRIPT&gt; &lt;PARAM NAME="model" VALUE="models/HyaluronicAcid.xyz"&gt; alt="Your browser understands the &amp;lt;APPLET&amp;gt; tag but isn't running the applet, for some reason." Your browser is completely ignoring the &amp;lt;APPLET&amp;gt; tag! &lt;/applet&gt; </code></pre>