forked from xy2401/local-doc-java-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemos.html
More file actions
206 lines (153 loc) · 7.4 KB
/
demos.html
File metadata and controls
206 lines (153 loc) · 7.4 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<html>
<head>
<title>Java 2 SDK Demos</title>
</head>
<BODY BGCOLOR="#FFFFFF" TEXT=#000000 LINK=#0000ff VLINK=#000077 ALINK=#ff0000>
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH=30>
<IMG SRC="../images/javalogo52x88.gif" ALT="Java" BORDER=0 WIDTH=52 HEIGHT=88>
</TD>
<TD ALIGN=CENTER>
<h1>Demonstration<br>
Applets and Applications</h1>
</TD>
<TD ALIGN=RIGHT VALIGN=TOP>
<FONT SIZE="-1"><a href="../index.html">Documentation Contents</a></FONT>
</TD>
</TR>
</TABLE>
<!-- ============================================================= -->
The applets available below demonstrate features
of the Java platform. Swing set demos are available in the <tt>demo/jfc</tt>
directory of the Java<font size="-2"><sup>TM</sup></font> 2 SDK
installation. Each Swing demo has an associated README.txt file that
you should read for instructions on running the demo.
<h3>Browser Requirements</h3>
In general, applets can run in AppletViewer or in Java<font size="-2"><sup>TM</sup></font>-compatible browers
as noted below. Of course, applets that depend on any new APIs will
not work on any browsers that support only earlier version APIs, so there are
version restrictions.
<ul>
<li><b>Java 2 Platform-based Applets</b> - The AppletViewer in
the Java 2 SDK
or future compatible versions of Netscape, Internet Explorer,
or other browsers (whether with or without the Java Plug-In).
<li><b>Java 1.1 Applets</b> - Use HotJava 1.0, AppletViewer 1.1 or
1.1-compatible versions of Netscape, Internet Explorer, or other browsers.
<li><b>Java 1.0 Applets</b> - Use Netscape 3.0, Internet Explorer 3.0,
HotJava pre-beta, or AppletViewer 1.0 or a later version of any of these
</ul>
The AppletViewer is provided with the Java 2 SDK, Standard Edition, in
the SDK's <tt>bin</tt> directory. For information about how to use
the AppletViewer and other SDK tools, see <b>
<a href="../tooldocs/tools.html">Java 2 SDK Tools and Utilities</a></b>.
<p>
<h3>Demo Applets</h3>
The applets in this section are part of the software download bundle
and are located in the <code>demo/applets</code> directory of the
Java 2 SDK installation.
<p>
<ul compact plain>
<li>Animator
(<a href="../../demo/applets/Animator/example1.html">1</a>,
<a href="../../demo/applets/Animator/example2.html">2</a>,
<a href="../../demo/applets/Animator/example3.html">3</a>,
<a href="../../demo/applets/Animator/example4.html">4</a>)
<li><a href="../../demo/applets/ArcTest/example1.html">ArcTest</a>
<li><a href="../../demo/applets/BarChart/example1.html">BarChart</a>
<li><a href="../../demo/applets/Blink/example1.html">Blink</a>
<li><a href="../../demo/applets/CardTest/example1.html">CardTest</a>
<li><a href="../../demo/applets/Clock/example1.html">Clock</a>
<li><a href="../../demo/applets/DitherTest/example1.html">DitherTest</a>
<li><a href="../../demo/applets/DrawTest/example1.html">DrawTest</a>
<li><a href="../../demo/applets/Fractal/example1.html">Fractal</a>
<li>GraphLayout (<a href="../../demo/applets/GraphLayout/example1.html">1</a>,
<a href="../../demo/applets/GraphLayout/example2.html">2</a>,
<a href="../../demo/applets/GraphLayout/example3.html">3</a>,
<a href="../../demo/applets/GraphLayout/example4.html">4</a>)
<li><a href="../../demo/applets/GraphicsTest/example1.html">GraphicsTest</a>
<li><a href="../../demo/applets/ImageMap/example1.html">ImageMap</a>
<li><a href="../../demo/applets/JumpingBox/example1.html">JumpingBox</a>
<li>MoleculeViewer (<a href="../../demo/applets/MoleculeViewer/example1.html">1</a>,
<a href="../../demo/applets/MoleculeViewer/example2.html">2</a>,
<a href="../../demo/applets/MoleculeViewer/example3.html">3</a>)
<li><a href="../../demo/applets/NervousText/example1.html">NervousText</a>
<li><a href="../../demo/applets/SimpleGraph/example1.html">SimpleGraph</a>
<li><a href="../../demo/applets/SortDemo/example1.html">SortDemo</a>
<li><a href="../../demo/applets/SpreadSheet/example1.html">SpreadSheet</a>
<li><a href="../../demo/applets/TicTacToe/example1.html">TicTacToe</a>
<li>WireFrame (<a href="../../demo/applets/WireFrame/example1.html">1</a>,
<a href="../../demo/applets/WireFrame/example2.html">2</a>,
<a href="../../demo/applets/WireFrame/example3.html">3</a>,
<a href="../../demo/applets/WireFrame/example4.html">4</a>)
</ul>
<h3>JFC Applications and Applets</h3>
These applications and applets demonstrate Swing and Java 2D<sup><font size="-2">TM</font></sup> technology.
<p>
<ul compact plain>
<li><a href="../../demo/jfc/DBDemos/README.txt">DBDemos</a>
<li><a href="../../demo/jfc/FileChooserDemo/README.txt">FileChooserDemo</a>
<li><a href="../../demo/jfc/Java2D/README.txt">Java2D</a>
<li><a href="../../demo/jfc/Metalworks/README.txt">Metalworks</a>
<li><a href="../../demo/jfc/Notepad/README.txt">Notepad</a>
<li><a href="../../demo/jfc/SampleTree/README.txt">SampleTree</a>
<li><a href="../../demo/jfc/SimpleExample/README.txt">Simple</a>
<li><a href="../../demo/jfc/Stylepad/README.txt">Stylepad</a>
<li><a href="../../demo/jfc/SwingApplet/README.txt">SwingApplet</a>
<li><a href="../../demo/jfc/SwingSet2/README.txt">SwingSet</a>
<li><a href="../../demo/jfc/TableExample/README.txt">Table</a>
</UL>
<h3>Java Sound Demonstration</h3>
A Java Sound demonstration program can be found in the
SDK's <tt>demo/sound</tt> directory. The program can be run either as
an application or as an applet. See the
<a href="../../demo/sound/README.txt">README</a> file for details.
Source code for the program is provided in the SDK's
<tt>demo/sound/src</tt> directory.
<h3>Java Platform Debugger Architecture</h3>
The <tt>demo/jpda/examples.jar</tt> file in the SDK contains
JPDA examples, including source code for the jdb Java Debugger and the
prototype javadt GUI debugger.
<h3>Additional Applications and Applets </h3>
Additional applets and applications may be found at:
<ul>
<li><a href="../index.html#guide">Guide to Features</a> - Examples are included in the documentation for particular features.
<li><a href="http://java.sun.com/applets/index.html">Applets Page</a> - Located on Sun Java Software web site
<li><a href="http://java.sun.com/docs/books/tutorial/index.html">The Java Tutorial</a> - Located on Sun Java Software web site
<ul>
<li><a href="http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html">First Cup of Java</a>
<li><a href="http://java.sun.com/docs/books/tutorial/getStarted/index.html">"Hello World" Applet and Application</a>
<li><a href="http://java.sun.com/docs/books/tutorial/together/index.html">BINGO! Client/Server Application</a>
</ul>
</ul>
<br>
<p>
<!-- Body text ends here -->
<!-- ============================================================== -->
<HR SIZE=3 NOSHADE>
<TABLE BORDER="0" WIDTH="100%">
<TR VALIGN=TOP>
<TD>
<P><FONT SIZE="-2">
<A HREF="SMICopyright.html">Copyright ©</A>1995-99
<A HREF="http://www.sun.com/">Sun Microsystems, Inc.</A>
All Rights Reserved.
</FONT></P>
<FONT SIZE="-1">
<font size=-1>Please send comments to
</FONT>
</TD>
<TD ALIGN=RIGHT>
<IMG SRC="../images/sunlogo64x30.gif" ALT="Sun" BORDER=0 WIDTH=64 HEIGHT=30>
<BR><BR>
<FONT SIZE="+1">
<i>Java Software</i>
</FONT>
</TD>
</TR>
</TABLE>
<p>
</BODY>
</HTML>