blob: d2c6c4bdfa34609beb33ddc9dade545a4a6d0b0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- ########################## IMPORTANT NOTE ############################ -->
<!-- This preview HTML page will work only with JDK 6 update 10 and higher! -->
<!-- ###################################################################### -->
<html>
<head>
<title>Test page for launching the applet via JNLP</title>
<script type="text/javascript">
current = 0;
function next() {
if (document.slideform.slide[current+1]) {
document.slideform.applet.loadDemo(document.slideform.slide[current+1].value);
document.slideform.slide.selectedIndex = ++current;
}
else first();
}
function previous() {
if (current-1 >= 0) {
document.slideform.applet.loadDemo(document.slideform.slide[current-1].value);
document.slideform.slide.selectedIndex = --current;
}
else last();
}
function first() {
current = 0;
document.slideform.applet.loadDemo(document.slideform.slide[0].value);
document.slideform.slide.selectedIndex = 0;
}
function last() {
current = document.slideform.slide.length-1;
document.slideform.applet.loadDemo(document.slideform.slide[current].value);
document.slideform.slide.selectedIndex = current;
}
function change() {
current = document.slideform.slide.selectedIndex;
document.slideform.applet.loadDemo(document.slideform.slide[current].value);
}
// End -->
</script>
</head>
<body>
<h3>Test page for launching the applet via JNLP</h3>
<form name=slideform action="">
<table cellspacing=1 cellpadding=4 bgcolor="#000000">
<tr>
<td align=center bgcolor="white">
<b>Applet Slideshow</b>
</td>
</tr>
<tr>
<td align=center bgcolor="white" width=200 height=150>
<applet name="applet" width='${JNLP.APPLET.WIDTH}' height='${JNLP.APPLET.HEIGHT}'>
<param name='jnlp_href' value='${JNLP.FILE}'/>
<param name='demo' value='glredbook10.accanti'/>
</applet>
</td>
</tr>
<tr>
<td align=center bgcolor="#C0C0C0">
<select name="slide" onChange="change();">
<option value='glredbook10.accanti' selected>glredbook10.accanti
<option value='glredbook10.accnot' selected>glredbook10.accnot
<option value='glredbook10.accpersp' selected>glredbook10.accpersp
<option value='glredbook10.accum' selected>glredbook10.accum
<option value='glredbook10.aim' selected>glredbook10.aim
<option value='glredbook10.alpha' selected>glredbook10.alpha
<option value='glredbook10.alpha3D' selected>glredbook10.alpha3D
<option value='glredbook10.anti' selected>glredbook10.anti
<option value='glredbook10.antipoint' selected>glredbook10.antipoint
<option value='glredbook10.antipoly' selected>glredbook10.antipoly
<option value='glredbook10.bezcurve' selected>glredbook10.bezcurve
<option value='glredbook10.bezmesh' selected>glredbook10.bezmesh
<option value='glredbook10.bezsurf' selected>glredbook10.bezsurf
<option value='glredbook10.checker' selected>glredbook10.checker
<option value='glredbook10.checker2' selected>glredbook10.checker2
<option value='glredbook10.chess' selected>glredbook10.chess
<option value='glredbook10.clip' selected>glredbook10.clip
<option value='glredbook10.colormat' selected>glredbook10.colormat
<option value='glredbook10.cone' selected>glredbook10.cone
<option value='glredbook10.cube' selected>glredbook10.cube
<option value='glredbook10.depthcue' selected>glredbook10.depthcue
<option value='glredbook10.disk' selected>glredbook10.disk
<option value='glredbook10.dof' selected>glredbook10.dof
<option value='glredbook10.dofnot' selected>glredbook10.dofnot
<option value='glredbook10.doublebuf' selected>glredbook10.doublebuf
<option value='glredbook10.drawf' selected>glredbook10.drawf
<option value='glredbook10.feedback' selected>glredbook10.feedback
<option value='glredbook10.fog' selected>glredbook10.fog
<option value='glredbook10.font' selected>glredbook10.font
<option value='glredbook10.jfont' selected>glredbook10.jfont
<option value='glredbook10.light' selected>glredbook10.light
<option value='glredbook10.linelist' selected>glredbook10.linelist
<option value='glredbook10.lines' selected>glredbook10.lines
<option value='glredbook10.list' selected>glredbook10.list
<option value='glredbook10.list2' selected>glredbook10.list2
<option value='glredbook10.maplight' selected>glredbook10.maplight
<option value='glredbook10.material' selected>glredbook10.material
<option value='glredbook10.mipmap' selected>glredbook10.mipmap
<option value='glredbook10.model' selected>glredbook10.model
<option value='glredbook10.movelight' selected>glredbook10.movelight
<option value='glredbook10.pickdepth' selected>glredbook10.pickdepth
<option value='glredbook10.pickline' selected>glredbook10.pickline
<option value='glredbook10.picksquare' selected>glredbook10.picksquare
<option value='glredbook10.plane' selected>glredbook10.plane
<option value='glredbook10.planet' selected>glredbook10.planet
<option value='glredbook10.planetup' selected>glredbook10.planetup
<option value='glredbook10.polys' selected>glredbook10.polys
<option value='glredbook10.robot' selected>glredbook10.robot
<option value='glredbook10.sccolorlight' selected>glredbook10.sccolorlight
<option value='glredbook10.scene' selected>glredbook10.scene
<option value='glredbook10.scenebamb' selected>glredbook10.scenebamb
<option value='glredbook10.sceneflat' selected>glredbook10.sceneflat
<option value='glredbook10.select' selected>glredbook10.select
<option value='glredbook10.simple' selected>glredbook10.simple
<option value='glredbook10.smooth' selected>glredbook10.smooth
<option value='glredbook10.sphere' selected>glredbook10.sphere
<option value='glredbook10.stencil' selected>glredbook10.stencil
<option value='glredbook10.stroke' selected>glredbook10.stroke
<option value='glredbook10.tea' selected>glredbook10.tea
<option value='glredbook10.teaambient' selected>glredbook10.teaambient
<option value='glredbook10.teapots' selected>glredbook10.teapots
<option value='glredbook10.texturesurf' selected>glredbook10.texturesurf
<option value='glredbook11.aargb' selected>glredbook11.aargb
<option value='glredbook11.hello' selected>glredbook11.hello
<option value='glredbook11.image' selected>glredbook11.image
<option value='glredbook11.polyoff' selected>glredbook11.polyoff
<option value='glredbook11.tess' selected>glredbook11.tess
<option value='glredbook11.tesswind' selected>glredbook11.tesswind
<option value='glredbook11.texbind' selected>glredbook11.texbind
<option value='glredbook11.texgen' selected>glredbook11.texgen
<option value='glredbook11.texprox' selected>glredbook11.texprox
<option value='glredbook11.texsub' selected>glredbook11.texsub
<option value='glredbook11.torus' selected>glredbook11.torus
<option value='glredbook11.unproject' selected>glredbook11.unproject
<option value='glredbook11.varray' selected>glredbook11.varray
<option value='glredbook11.wrap' selected>glredbook11.wrap
<option value='glredbook12x.blendeqn' selected>glredbook12x.blendeqn
<option value='glredbook12x.colormatrix' selected>glredbook12x.colormatrix
<option value='glredbook12x.colortable' selected>glredbook12x.colortable
<option value='glredbook12x.convolution' selected>glredbook12x.convolution
<option value='glredbook12x.histogram' selected>glredbook12x.histogram
<option value='glredbook12x.minmax' selected>glredbook12x.minmax
<option value='glredbook12x.multitex' selected>glredbook12x.multitex
<option value='glredbook12x.quadric' selected>glredbook12x.quadric
<option value='glredbook12x.texture3d' selected>glredbook12x.texture3d
<option value='glredbook1314.combiner' selected>glredbook1314.combiner
<option value='glredbook1314.cubemap' selected>glredbook1314.cubemap
<option value='glredbook1314.fogcoord' selected>glredbook1314.fogcoord
<option value='glredbook1314.multisamp' selected>glredbook1314.multisamp
<option value='glredbook1314.mvarray' selected>glredbook1314.mvarray
<option value='glredbook1314.pointp' selected>glredbook1314.pointp
<option value='glredbook1314.shadowmap' selected>glredbook1314.shadowmap
</select>
</td>
</tr>
<tr>
<td align=center bgcolor="#C0C0C0">
<input type=button onClick="first();" value="|<<" title="Beginning">
<input type=button onClick="previous();" value="<<" title="Previous">
<input type=button onClick="next();" value=">>" title="Next">
<input type=button onClick="last();" value=">>|" title="End">
</td>
</tr>
</table>
</form>
<!-- Or use the following script element to launch with the Deployment Toolkit -->
<!-- Open the deployJava.js script to view its documentation -->
<!--
<script src="http://java.com/js/deployJava.js"></script>
<script>
var attributes = {
codebase: [applet codebase],
code: [class to launch],
archive: [JAR file with the applet],
width: [applet width],
height: [applet height]
};
var parameters = { [applet parameters] };
var version = [JDK version];
deployJava.runApplet(attributes, parameters, version);
</script>
-->
</body>
</html>
|