Jogamp
Added JOGL / JOAL applet test and revised documentation for JOGL
[jogl-demos.git] / www / applettest-joal.html
CommitLineData
73edbcfc
KR
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<title>JOGL / JOAL Applet Test</title>
5</head>
6<body>
7
8<P>
9
10The <a href="applettest.html">JOGL Applet Launcher</a> now supports
11deployment of high-end applets using both OpenGL for 3D graphics via
12JOGL and OpenAL for spatialized audio via JOAL. The user's applet does
13not have to be signed, and no manual installation of software on the
14user's machine is necessary. Combined JOGL and JOAL applets are
15supported by the JOGLAppletLauncher on all OS and CPU combinations
16where these libraries are supported: currently Windows/x86, Linux/x86,
17and Mac OS X, both PowerPC and Intel.
18
19</P>
20<P>
21
22Here is a simple example of an applet which combines both OpenGL
23rendering and OpenAL audio:
24
25</P>
26<P>
27
28<applet code="com.sun.opengl.util.JOGLAppletLauncher"
29 width=600
30 height=400
31 codebase="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current"
32 archive="jogl.jar,joal.jar,gluegen-rt.jar,jogl-demos.jar,joal-demos.jar">
33 <param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet">
34 <param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet">
35 <param name="progressbar" value="true">
36 <param name="cache_archive" VALUE="jogl.jar,joal.jar,gluegen-rt.jar,jogl-demos.jar,joal-demos.jar">
37 <param name="cache_archive_ex" VALUE="jogl.jar;preload,joal.jar;preload,gluegen-rt.jar;preload,jogl-demos.jar;preload,joal-demos.jar;preload">
38</applet>
39
40</P>
41<P>
42
43The applet above is instantiated with the following code:
44
45<pre>
46&lt;applet code="com.sun.opengl.util.JOGLAppletLauncher"
47 width=600
48 height=400
49 codebase="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current"
50 archive="jogl.jar,joal.jar,gluegen-rt.jar,jogl-demos.jar,joal-demos.jar"&gt;
51 &lt;param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"&gt;
52 &lt;param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"&gt;
53 &lt;param name="progressbar" value="true"&gt;
54 &lt;param name="cache_archive" VALUE="jogl.jar,joal.jar,gluegen-rt.jar,jogl-demos.jar,joal-demos.jar"&gt;
55 &lt;param name="cache_archive_ex" VALUE="jogl.jar;preload,joal.jar;preload,gluegen-rt.jar;preload,jogl-demos.jar;preload,joal-demos.jar;preload"&gt;
56&lt;/applet&gt;
57</pre>
58
59</P>
60<P>
61
62Note that the jogl-demos.jar and joal-demos.jar files, which contain
63the applet's classes, <B>do not need to be signed</B>! Sun
64Microsystems, Inc. signs jogl.jar, joal.jar and gluegen-rt.jar, which
65contain the JOGLAppletLauncher, JOAL and supporting classes; this is
66the only Java code which needs to be signed in order to deploy applets
67using JOGL and is the only certificate the end user must accept.
68
69</P>
70<P>
71
72The <a
73href="http://download.java.net/media/jogl/builds/nightly/javadoc_public/com/sun/opengl/util/JOGLAppletLauncher.html">JOGLAppletLauncher
74javadoc</a> contains more information about what files must be placed
75on the web server in order to enable the deployment of applets using
76JOGL.
77
78</P>
79<P>
80
81The JOGL Applet Launcher was originally contributed by Lilian
82Chamontin.
83
84</P>
85
86</body>
87</html>
http://JogAmp.org git info: FAQ, tutorial and man pages.