Hello all
I’m currently learning how to do an applet that uses jogl.
what I did is:
-
using eclipse, created the java applet. I’ve tried running the applet from eclipse, and it worked.
-
next, I created a HTML file for the applet. The applet tag looks like this:
<applet code="com.sun.opengl.utils.JOGLAppletLauncher"
width=640
height=480
codebase="."
archive="jogl.jar,gluegen-rt.jar">
<param name="subapplet.classname" VALUE="jogl.applet.demo.JOGLApplet">
<param name="subapplet.displayname" VALUE="JOGL Applet">
<param name="progressbar" value="true">
<param name="cache_archive" VALUE="jogl.jar,gluegen-rt.jar,JOGLApplet.class">
<param name="cache_archive_ex" VALUE="jogl.jar;preload,gluegen-rt.jar;preload">
</applet>
- Then, I put the HTML file, java class file, jogl.jar, jogl-natives-windows-i586.jar, and gluegen-rt.jar in a folder.
when I opened the html, it says: Applet com.sun.opengl.utils.JOGLAppletLauncher notinited
What did I do wrong? Thank you so much for your help in advance