JFrame's cannot be rendered through HTML. You need to embed an object of type applet instead.
Applet can handle a JFrame, so you just need to wrap your JFrame in an applet class instead. See this tutorial for more applet information:
http://docs.oracle.com/javase/tutori...let/index.html