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