Jogamp
Updated applet tests to use JNLPAppletLauncher
[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
4fa012da
KR
10The new <a
11href="http://applet-launcher.dev.java.net">JNLPAppletLauncher</a>
12supports deployment of high-end applets using arbitrary extensions
13such as JOGL for 3D graphics and JOAL for spatialized audio. The
14user's applet does not have to be signed, and no manual installation
15of software on the user's machine is necessary. Combined JOGL and JOAL
16applets are supported by the JNLPAppletLauncher on all OS and CPU
17combinations where these libraries are supported: currently
18Windows/x86, Linux/x86, and Mac OS X, both PowerPC and Intel.
73edbcfc
KR
19
20</P>
21<P>
22
23Here is a simple example of an applet which combines both OpenGL
24rendering and OpenAL audio:
25
26</P>
27<P>
28
4fa012da
KR
29<applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
30 width=600
31 height=400
32 archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
33 http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
34 http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
35 http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl-demos.jar,
36 http://download.java.net/media/joal/webstart/joal.jar,
37 http://download.java.net/media/joal/webstart/joal-demos.jar">
38 <param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet">
39 <param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet">
40 <param name="noddraw.check" value="true">
41 <param name="progressbar" value="true">
42 <param name="jnlpNumExtensions" value="2">
43 <param name="jnlpExtension1"
44 value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
45 <param name="jnlpExtension2"
46 value="http://download.java.net/media/joal/webstart/joal.jnlp">
73edbcfc
KR
47</applet>
48
49</P>
50<P>
51
52The applet above is instantiated with the following code:
53
54<pre>
4fa012da
KR
55&lt;applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
56 width=600
57 height=400
58 archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
59 http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
60 http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
61 http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl-demos.jar,
62 http://download.java.net/media/joal/webstart/joal.jar,
63 http://download.java.net/media/joal/webstart/joal-demos.jar"&gt;
64 &lt;param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"&gt;
65 &lt;param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"&gt;
66 &lt;param name="noddraw.check" value="true"&gt;
67 &lt;param name="progressbar" value="true"&gt;
68 &lt;param name="jnlpNumExtensions" value="2"&gt;
69 &lt;param name="jnlpExtension1"
70 value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp"&gt;
71 &lt;param name="jnlpExtension2"
72 value="http://download.java.net/media/joal/webstart/joal.jnlp"&gt;
73edbcfc
KR
73&lt;/applet&gt;
74</pre>
75
76</P>
77<P>
78
79Note that the jogl-demos.jar and joal-demos.jar files, which contain
80the applet's classes, <B>do not need to be signed</B>! Sun
4fa012da
KR
81Microsystems, Inc. signs applet-launcher.jar, jogl.jar, joal.jar and
82gluegen-rt.jar, which contain the JNLPAppletLauncher, JOGL, JOAL and
83supporting classes; this is the only Java code which needs to be
84signed in order to deploy applets using JOGL and JOAL and is the only
85certificate the end user must accept.
73edbcfc
KR
86
87</P>
88<P>
89
4fa012da
KR
90The <a href="http://applet-launcher.dev.java.net">JNLPAppletLauncher
91home page</a> contains more information about what files must be
92placed on the web server in order to enable the deployment of applets
93using JOGL and other extensions.
73edbcfc
KR
94
95</P>
96
97</body>
98</html>
http://JogAmp.org git info: FAQ, tutorial and man pages.