上 传 者
(21 days of the Institute of JAVA)
21java (0, 2004-05-31)
21java\day01 (0, 2004-05-31)
21java\day01\Ellsworth.class (1068, 2000-09-23)
21java\day01\Ellsworth.java (751, 2000-03-30)
21java\day02 (0, 2004-05-31)
21java\day02\VolcanoRobot.class (1330, 2000-09-23)
21java\day02\VolcanoRobot.java (1040, 2000-04-13)
21java\day03 (0, 2004-05-31)
21java\day03\Weather.class (891, 2000-09-23)
21java\day03\Weather.java (830, 2000-08-21)
21java\day04 (0, 2004-05-31)
21java\day04\CheckString.class (1359, 2000-09-23)
21java\day04\CheckString.java (787, 2000-04-23)
21java\day04\EqualsTest.class (1005, 2000-09-23)
21java\day04\EqualsTest.java (605, 2000-04-23)
21java\day04\ReferencesTest.class (825, 2000-09-23)
21java\day04\ReferencesTest.java (366, 2000-08-21)
21java\day04\SetPoints.class (946, 2000-09-23)
21java\day04\SetPoints.java (537, 2000-04-23)
21java\day04\ShowTokens.class (999, 2000-09-23)
21java\day04\ShowTokens.java (701, 2000-04-21)
21java\day05 (0, 2004-05-31)
21java\day05\CopyArrayWhile.class (922, 2000-09-23)
21java\day05\CopyArrayWhile.java (653, 2000-05-06)
21java\day05\DayCounter.class (1020, 2000-09-23)
21java\day05\DayCounter.java (1151, 2000-05-06)
21java\day05\HalfDollars.class (958, 2000-09-23)
21java\day05\HalfDollars.java (829, 2000-05-06)
21java\day05\HalfLoop.class (840, 2000-09-23)
21java\day05\HalfLoop.java (608, 2000-05-06)
21java\day06 (0, 2004-05-31)
21java\day06\EchoArgs.class (660, 2000-09-23)
21java\day06\EchoArgs.java (216, 2000-05-08)
21java\day06\MyRect.class (1759, 2000-09-23)
21java\day06\MyRect.java (1557, 2000-05-08)
21java\day06\MyRect2.class (1758, 2000-09-23)
21java\day06\MyRect2.java (1454, 2000-05-08)
21java\day06\NamedPoint.class (883, 2000-09-23)
21java\day06\NamedPoint.java (446, 2000-05-08)
21java\day06\PassByReference.class (1085, 2000-09-23)
MakeApplet generates an Applet corresponding to a BeanBox layout. The
data and classes needed for this Applet are packaged into a JAR file.
The Applet itself is a Bean and it can be read back into the BeanBox
At construction time, the generated Applet uses serialization data only if
it contains beans with hidden-state. Note, other builders may use different
techniques to reconstitute a compound bean.
This directory contains the following files:
A test html file for displaying the applet. It requires
a JDK1.1-compliant browser. The APPLET tag references
the JAR files described next
This JAR file packages .class files and serialized data, if any,
so it can be referenced by the HTML file. This JAR file
depends on the JAR files listed next.
This JAR file contains a few support classes that are
used by the generated classes.
These JAR file(s) describe the Beans that were instantiated
in the BeanBox and packaged into MyApplet.
This directory contains source files, data, if any, and Makefiles.
It is possible to do small adjustments to the generated sources
and create a new JAR file.
The generated applet requires full JDK1.1 support. The appletviewer
tool included in the JDK1.1 distributions can be used. Alternatively
you can use the HotJava browser.
The latest versions of Navigator and Internet Explorer only
partially support JDK1.1.
The failures in IE4.0 include lack of support for the
Class.getResource() call. In particular, this means that the Juggler
bean (in juggler.jar) will not be able to show its image. IE4.0 does
support getResourceAsStream() which is used by the generated Applet
to acquire serialized information on its beans. Note that an Image
can be created from an InputStream by first creating a byte array
and then using Toolkit.createImage().
Navigator 4.04 generates a security exception from
getResourceAsStream() invocations. We expect this to be resolved
HotJava 1.1, and 1.1.1 make a distinction in security checks
between the URLs "file:/" and "file:///"; an applet
denoted by the first one will work but one using the second will not:
it will raise a security exception while doing getResourceAsStream()