title: Standalone .jar runs great, but when embedded in HTML, framerate drops to 1 fps
body: <p>I have a single .jar file that I create by using the runnable .jar file export function in Eclipse. This file runs flawlessly when you just download it and run it. Now I'm trying to embed it in an HTML file, but having trouble.</p>
  
  <p><a href="http://uncc.ath.cx/applets/Voronoi_Standalone/Voronoi_Standalone_Local.jar" rel="nofollow noreferrer">Here is the standalone jar</a></p>
  
  <p>Here is the page where I attempt to embed the .jar file. I could not make it run on it's own, but If I took the Main.class file from the bin/ directory of my Project and included that too, it almost works.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;title&gt;Voronoi Cells&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;applet code="Main.class" archive="Voronoi_Standalone_Local.jar" width="600" Height="500"&gt;
  &lt;/applet&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><a href="http://uncc.ath.cx/applets/Voronoi_Standalone/" rel="nofollow noreferrer">Here is that page online</a></p>
  
  <p>With this arrangement, in Chrome, the applet shows, but the framerate is only around 1 fps.</p>
  
  <p>It crashes Firefox.</p>
  
  <p>It works fine it Safari!</p>
  
  <p>Who cares what it does in IE.</p>
  
  <p>What is the correct applet tag I should use? I would prefer to reference only the single standalone .jar file if possible. Why is the framerate so bad in Chrome?</p>