Jogamp
cleanup www and jnlp-files folder, dropping all jnlp/html code to jnlp-files
[jogl-demos.git] / jnlp-files / applet-gearsjoal-laucheronly.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="../jar/applet-launcher.jar,
33                ../jar/gluegen-rt.jar,
34                ../jar/jogl.all.jar,
35                ../jar/joal.jar,
36                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="../jogl-all-awt.jnlp">
45    <param name="jnlpExtension2"
46           value="../joal.jnlp">
47    <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
48 </applet>
49
50
51 </P>
52 <P>
53
54 The applet above is instantiated with the following code:
55
56 <pre>
57 &lt;applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
58       width=600
59       height=400
60       archive="http://jogamp.org/deployment/jogamp-current/jar/applet-launcher.jar,
61                http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar,
62                http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar,
63                http://jogamp.org/deployment/jogamp-current/jar/joal.jar,
64                http://jogamp.org/deployment/jogamp-current/jogl-demos/jar/jogl-demos.jar"&gt;
65    &lt;param name="codebase_lookup" value="false"&gt;
66    &lt;param name="subapplet.classname" VALUE="demos.applets.GearsJOALApplet"&gt;
67    &lt;param name="subapplet.displayname" VALUE="JOGL / JOAL Gears Applet"&gt;
68    &lt;param name="noddraw.check" value="true"&gt;
69    &lt;param name="progressbar" value="true"&gt;
70    &lt;param name="jnlpNumExtensions" value="2"&gt;
71    &lt;param name="jnlpExtension1"
72           value="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"&gt;
73    &lt;param name="jnlpExtension2"
74           value="http://jogamp.org/deployment/jogamp-current/joal.jnlp"&gt;
75    &lt;param name="java_arguments" value="-Dsun.java2d.noddraw=true"&gt;
76 &lt;/applet&gt;
77 </pre>
78
79 </P>
80 <P>
81
82 Note that the jogl-demos.jar and joal-demos.jar files, which contain
83 the applet's classes, <B>do not need to be signed</B>! JogAmp Community
84 signs applet-launcher.jar, jogl.jar, joal.jar and
85 gluegen-rt.jar, which contain the JNLPAppletLauncher, JOGL, JOAL and
86 supporting classes; this is the only Java code which needs to be
87 signed in order to deploy applets using JOGL and JOAL and is the only
88 certificate the end user must accept.
89
90 </P>
91 <P>
92
93 The <a href="http://jogamp.org/applet-launcher/www/">JNLPAppletLauncher
94 home page</a> contains more information about what files must be
95 placed on the web server in order to enable the deployment of applets
96 using JOGL and other extensions.
97
98 </P>
99
100 </body>
101 </html>
http://JogAmp.org git info: FAQ, tutorial and man pages.