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
182 lines (133 loc) · 7.33 KB
/
demos.html
File metadata and controls
182 lines (133 loc) · 7.33 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
<html>
<head>
<title>Java 2 SDK Demos</title>
</head>
<BODY BGCOLOR="#FFFFFF" TEXT=#000000 LINK=#0000ff VLINK=#000077 ALINK=#ff0000>
<TABLE summary="layout" 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 Java<sup><font size="-2">TM</font></sup> 2 SDK contains a
<tt>demos</tt> directory that includes applets,
applications, and sample code that demonstrate various features of
the Java 2 Platform. The available demos are described in the
following sections.
<h3>Applets</h3>
The applet demos are located in the Java 2 SDK's <code>demo/applets</code>
directory. To run the applets, use the appletviewer or your web
browser to open the file named <tt>example1.html</tt> in each of
the applets' subdirectories. The demo applets are also available on the
java.sun.com web site, and links to the online applets are provided below.
<p>
Applets can run in AppletViewer or in web browers when
the Java<sup><font size="-2">TM</font></sup> Plug-in product is installed.
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>
<ul compact plain>
<li>Animator
(<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Animator/example1.html">1</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Animator/example2.html">2</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Animator/example3.html">3</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Animator/example4.html">4</a>)
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example1.html">ArcTest</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/BarChart/example1.html">BarChart</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Blink/example1.html">Blink</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/CardTest/example1.html">CardTest</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Clock/example1.html">Clock</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/DitherTest/example1.html">DitherTest</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/DrawTest/example1.html">DrawTest</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/Fractal/example1.html">Fractal</a>
<li>GraphLayout (<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example1.html">1</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example2.html">2</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example3.html">3</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/GraphLayout/example4.html">4</a>)
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/GraphicsTest/example1.html">GraphicsTest</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/ImageMap/example1.html">ImageMap</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/JumpingBox/example1.html">JumpingBox</a>
<li>MoleculeViewer (<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example1.html">1</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example2.html">2</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/MoleculeViewer/example3.html">3</a>)
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/NervousText/example1.html">NervousText</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/SimpleGraph/example1.html">SimpleGraph</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/SortDemo/example1.html">SortDemo</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/SpreadSheet/example1.html">SpreadSheet</a>
<li><a href="http://java.sun.com/applets/jdk/1.4/demo/applets/TicTacToe/example1.html">TicTacToe</a>
<li>WireFrame (<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/WireFrame/example1.html">1</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/WireFrame/example2.html">2</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/WireFrame/example3.html">3</a>,
<a href="http://java.sun.com/applets/jdk/1.4/demo/applets/WireFrame/example4.html">4</a>)
</ul>
<h3>JFC Applications and Applets</h3>
These applications and applets, located in the Java 2 SDK's
<tt>demo/jfc</tt> directory, demonstrate Swing and Java
2D<sup><font size="-2">TM</font></sup> technology.
<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>The Poller Demo (Solaris<sup><font size="-2">TM</font></sup> Operating
Environment only)</h3>
This demo, located in the Java 2 SDK's <tt>demo/jni/Poller</tt> directory,
demonstrates access to the input/output multiplexing functionality from
the Java programming language. See the Solaris <tt>poll</tt> man page.
<h3>Java Secure Socket Extension (JSSE) Demo</h3>
This demo, located in the Java 2 SDK's <tt>demo/jsse</tt> directory,
contains sample code that illustrates the use of the Java 2 Platform's
JSSE functionality can be used to secure communications in the
Java network environment.
<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 summary="layout" BORDER="0" WIDTH="100%">
<TR VALIGN=TOP>
<TD>
<P><FONT SIZE="-2">
<A HREF="SMICopyright.html">Copyright ©</A> 2002
<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>