当前页面:
在线文档首页 >
JDK 5 Documentation v1.3.1, Java 2 SDK 英文文档
Java 2 SDK Demos - JDK 5 Documentation v1.3.1, Java 2 SDK 英文文档
The applets available below demonstrate features
of the Java platform. Swing set demos are available in the
demo/jfc
directory of the Java
TM 2 SDK
installation. Each Swing demo has an associated README.txt file that
you should read for instructions on running the demo.
Browser Requirements
In general, applets can run in AppletViewer or in Java
TM-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.
- Java 2 Platform-based Applets - 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).
- Java 1.1 Applets - Use HotJava 1.0, AppletViewer 1.1 or
1.1-compatible versions of Netscape, Internet Explorer, or other browsers.
- Java 1.0 Applets - Use Netscape 3.0, Internet Explorer 3.0,
HotJava pre-beta, or AppletViewer 1.0 or a later version of any of these
The AppletViewer is provided with the Java 2 SDK, Standard Edition, in
the SDK's
bin directory. For information about how to use
the AppletViewer and other SDK tools, see
Java 2 SDK Tools and Utilities.
Demo Applets
The applets in this section are part of the software download bundle
and are located in the
demo/applets
directory of the
Java 2 SDK installation.
- Animator
(1,
2,
3,
4)
- ArcTest
- BarChart
- Blink
- CardTest
- Clock
- DitherTest
- DrawTest
- Fractal
- GraphLayout (1,
2,
3,
4)
- GraphicsTest
- ImageMap
- JumpingBox
- MoleculeViewer (1,
2,
3)
- NervousText
- SimpleGraph
- SortDemo
- SpreadSheet
- TicTacToe
- WireFrame (1,
2,
3,
4)
JFC Applications and Applets
These applications and applets demonstrate Swing and Java 2D
TM technology.
Java Sound Demonstration
A Java Sound demonstration program can be found in the
SDK's
demo/sound directory. The program can be run either as
an application or as an applet. See the
README file for details.
Source code for the program is provided in the SDK's
demo/sound/src directory.
Java Platform Debugger Architecture
The
demo/jpda/examples.jar file in the SDK contains
JPDA examples, including source code for the jdb Java Debugger and the
prototype javadt GUI debugger.
Additional Applications and Applets
Additional applets and applications may be found at: