Skip to main content

The new JNLPAppletLauncher enables the creation and deployment of applets using Java 3D 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 Java 3D with a Java Runtime Environment version 1.5.0 or later installed into the web browser. Here is an example of the FourByFour demo running as an applet:

FourByFour Demo

Four-By-Four Game

The applet above is instantiated with the following code:

<applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
        width=800 height=400
    <param name="codebase_lookup" value="false">
    <param name="subapplet.classname" value="org.jdesktop.j3d.examples.four_by_four.FourByFour">
    <param name="subapplet.displayname" value="Java 3D Four by Four Applet">
    <param name="jnlpNumExtensions" value="1">
    <param name="jnlpExtension1" value="">
    <param name="progressbar" value="true">
    <param name="noddraw.check" value="true">

Note that the j3d-examples.jar, which contains the FourByFour class, does not need to be signed! Sun Microsystems, Inc. signs applet-launcher.jar, j3dcore.jar, j3dutils.jar, vecmath.jar, jogl.jar and gluegen-rt.jar, which contain the JNLPAppletLauncher and Java 3D's supporting classes; this is the only Java code which needs to be signed in order to deploy applets using Java 3D and is the only certificate the end user must accept.

The JNLPAppletLauncher home page contains more information about what files must be placed on the web server in order to enable the deployment of applets using Java 3D and other extensions.

Please Confirm