当前页面:
在线文档首页 >
JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
JDK Demos - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
JDK Contents
Demonstration Applets and Applications
Browser Requirements
In general, applets can run in AppletViewer or in Java-compatible browers
as noted below. Of course, applets that depend on any new Java 1.1 APIs will
not work on any browsers that support only Java 1.0, so there are version
restrictions.
- 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
- Java 1.1 Applets - Use HotJava 1.0, AppletViewer 1.1 or future 1.1-compatible versions of Netscape or Internet Explorer.
The AppletViewer is provided with the JDK software release.
In general, any applet or application that ran in JDK 1.0.2 should
run correctly in JDK 1.1. A failure to do so is a bug, except
for a small number of cases where compatibility has had to be
broken to close potential security holes, or fix implementation
or design bugs. For more details, see Compatibility.
All of the these applets have been recompiled and tested under JDK
1.1. When you click on the links below, a hidden applet will
determine whether to launch the 1.0.2 version or the 1.1 version of
each demo applet.
Of course, Java applications do not run in a browser and require only
the JDK or Java Runtime.
Applets
The applets in this section are part of the software download bundle
and are located in the jdk1.1/demo directory.
- Animator
(documentation,
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)
Additional applets may be found on the
Java Software web site Applets page.
Applets and applications demonstrating new features of JDK 1.1
Some of the demo programs in this section are located in the software
download bundle in the jdk1.1/demo directory; some are located in
the documentation download bundle in the jdk1.1/docs/guide directory,
and a few are located on the JavaSoft website.
- Internationalization
- Security Example
- Abstract Window Toolkit (AWT)
- JavaBeansTM
- JAR - Examples are in the tool reference pages:
- Remote Method Invocation
- Inner Classes
- Java Native Interface - Due to the platform-specific nature of JNI,
we cannot provide a demo that will work on all platforms. Instead,
we point you to the JNI tutorial.
Please send comments to jdk-comments@java.sun.com
Copyright © 1996-1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto CA 94303 USA. All rights reserved.