> JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
JDK Demos - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
Demonstration Applets and Applications
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
- 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.
The applets in this section are part of the software download bundle
and are located in the jdk1.1/demo directory.
- GraphLayout (1,
- MoleculeViewer (1,
- WireFrame (1,
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.
- Security Example
- Abstract Window Toolkit (AWT)
- 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 email@example.com
Copyright © 1996-1999 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto CA 94303 USA. All rights reserved.