Jogamp
Adapt to JOGL commit 7f2da7bb878813817efab0eb01bbf274065ef6c6
[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 10The new <a
5031cf9c 11href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher</a>
4fa012da
KR
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
c1e032e2 32 archive="http://jogamp.org/deployment/util/applet-launcher.jar,
b320f3a7 33 http://jogamp.org/deployment/webstart/newt.all.jar,
c1e032e2
SG
34 http://jogamp.org/deployment/webstart/nativewindow.all.jar,
35 http://jogamp.org/deployment/webstart/jogl.all.jar,
36 http://jogamp.org/deployment/webstart/gluegen-rt.jar,
e93339de 37 http://jogamp.org/deployment/webstart/jogl-demos/jogl-demos.jar,
2329eaec 38 http://jogamp.org/deployment/webstart/joal.jar,
648e947b 39 <param name="codebase_lookup" value="false">
4fa012da
KR
40 <param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet">
41 <param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet">
42 <param name="noddraw.check" value="true">
43 <param name="progressbar" value="true">
1ae2083a 44 <param name="jnlpNumExtensions" value="2">
4fa012da 45 <param name="jnlpExtension1"
c1e032e2 46 value="http://jogamp.org/deployment/webstart/jogl-core.jnlp">
1ae2083a 47 <param name="jnlpExtension2"
2329eaec 48 value="http://jogamp.org/deployment/webstart/joal.jnlp">
73edbcfc
KR
49</applet>
50
820cc25c 51
73edbcfc
KR
52</P>
53<P>
54
55The applet above is instantiated with the following code:
56
57<pre>
4fa012da
KR
58&lt;applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
59 width=600
60 height=400
c1e032e2
SG
61 archive="http://jogamp.org/deployment/util/applet-launcher.jar,
62 http://jogamp.org/deployment/webstart/jogl.all.jar,
63 http://jogamp.org/deployment/webstart/gluegen-rt.jar,
e93339de 64 http://jogamp.org/deployment/webstart/jogl-demos/jogl-demos.jar,
2329eaec 65 http://jogamp.org/deployment/webstart/joal.jar,
cfcd7984 66 http://jogamp.org/deployment/webstart/joal-demos/joal-demos.jar"&gt;
648e947b 67 &lt;param name="codebase_lookup" value="false"&gt;
4fa012da
KR
68 &lt;param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"&gt;
69 &lt;param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"&gt;
70 &lt;param name="noddraw.check" value="true"&gt;
71 &lt;param name="progressbar" value="true"&gt;
72 &lt;param name="jnlpNumExtensions" value="2"&gt;
73 &lt;param name="jnlpExtension1"
c1e032e2 74 value="http://jogamp.org/deployment/webstart/jogl-core.jnlp"&gt;
4fa012da 75 &lt;param name="jnlpExtension2"
2329eaec 76 value="http://jogamp.org/deployment/webstart/joal.jnlp"&gt;
73edbcfc
KR
77&lt;/applet&gt;
78</pre>
79
80</P>
81<P>
82
83Note that the jogl-demos.jar and joal-demos.jar files, which contain
84the applet's classes, <B>do not need to be signed</B>! Sun
4fa012da
KR
85Microsystems, Inc. signs applet-launcher.jar, jogl.jar, joal.jar and
86gluegen-rt.jar, which contain the JNLPAppletLauncher, JOGL, JOAL and
87supporting classes; this is the only Java code which needs to be
88signed in order to deploy applets using JOGL and JOAL and is the only
89certificate the end user must accept.
73edbcfc
KR
90
91</P>
92<P>
93
5031cf9c 94The <a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher
4fa012da
KR
95home page</a> contains more information about what files must be
96placed on the web server in order to enable the deployment of applets
97using JOGL and other extensions.
73edbcfc
KR
98
99</P>
100
101</body>
102</html>
http://JogAmp.org git info: FAQ, tutorial and man pages.