The new JOGL Applet Launcher enables the creation and deployment of applets using 3D graphics via OpenGL without requiring the applet to be signed or performing any manual installation of software on users' computers. It has been tested and should work on any OS/CPU combination supported by JOGL with a Java Runtime Environment version 1.4.2 or later installed into the web browser. Here is an example of the standard Gears demo running as an applet:
The applet above is instantiated with the following code:
<applet code="com.sun.opengl.util.JOGLAppletLauncher" width=600 height=400 codebase="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current" archive="jogl.jar,gluegen-rt.jar,jogl-demos.jar"> <param name="subapplet.classname" VALUE="demos.applets.GearsApplet"> <param name="subapplet.displayname" VALUE="JOGL Gears Applet"> <param name="progressbar" value="true"> <param name="cache_archive" VALUE="jogl.jar,gluegen-rt.jar,jogl-demos.jar"> <param name="cache_archive_ex" VALUE="jogl.jar;preload,gluegen-rt.jar;preload,jogl-demos.jar;preload"> </applet>
Note that the jogl-demos.jar, which contains the GearsApplet class, does not need to be signed! Sun Microsystems, Inc. signs jogl.jar, which contains the JOGLAppletLauncher; this is the only Java code which needs to be signed in order to deploy applets using JOGL and is the only certificate the end user must accept.
The JOGLAppletLauncher javadoc contains more information about what files must be placed on the web server in order to enable the deployment of applets using JOGL.
The JOGL Applet Launcher was originally contributed by Lilian Chamontin.