The JavaInfo applet displays the system-related information available from
your Java implementation. Because it attempts to examine the system
property database, your browser may display "security alerts." This is
normal and expected as some of the standard properties should not be
available to applets. JavaInfo may also be run as an application.
Java Source Files
Here are the Java source files used by the applet.
- AboutJavaInfo.java
- Copyright and other administrivia.
- ColorTestCell.java
- Display one system color cell.
- ColorTestDialog.java
- Display the defined system colors. This test is
only available if your browser supports Java 1.1.
- ColorTestPanel.java
- Display the defined system colors. This test is
only available if your browser supports Java 1.1.
- ColorTestSwatch.java
- Display one color blob.
- EtchedBorder.java
- Draw a labelled border around a component.
- JavaInfo.java
- This is the applet class. It computes the majority
of the textual information.
- Light.java
- A blinking light JavaBean (from Mastering Java Beans,
published by Sybex).
Note: this is a debugging tool, but is not currently used.
- MemoryStatus.java
- Display memory status in a simple ticker-tape. MemoryStatus
is closely based on StatusMemory.java by Jef Poskanzer, from
his public distribution on his
www.acme.com Web site. The MemoryStatus display shows
the amount of memory allocated to Java applets, the amount
of memory used, and the rate of change.
MemoryTest is also available
as a separate applet or (eventually) Java Bean.
- MemoryStatusGraph.java
- Display memory status in a simple ticker-tape.
- MemoryStatusInfo.java
- Text display for the MemoryStatus class.
- UpdateIntervalPanel.java
- A dialog used by the MemoryStatus and ResponseTest classes.
- ResponseTest.java
- This provides a very crude system response test by creating
a thread that sleeps for one second. When this thread awakens,
it computes the actual number of milliseconds it slept and
displays this value in a "ticker-tape," along with the current
maximum value. This is a crude test, and will probably be
modified. ResponseTest
is also available as a separate applet or (eventually) Java Bean.
- ResponseTestGraph.java
- This manages the ongoing response ticker-tape display.
- SimpleBorder.java
- Draw a one-pixel border around a color cell.
- SystemInfo.java
- The parent class of the information providers.
- SystemLocaleInfo.java
- Display information about your system's locale.
This is only displayed if your browser supports Java 1.1.
- SystemPropertyInfo.java
- Display information provided by the System class.
- SystemThreadInfo.java
- Display the current set of asynchronous threads.
- SystemTimeZonesInfo.java
- Display information about your system's timezones.
This is only displayed if your browser supports Java 1.1.
- ToolkitDataInfo.java
- Display information provided by the ToolKit class:
the system fonts and screen data.
- JavaInfo.jar
- The executable class files. JavaInfo may be run as an
application:
java -classpath JavaInfo.jar JavaInfo
- JavaInfo.run
- An execution stub that lets you run JavaInfo as an
application on MacOS MRJ, using the JBindery tool
in the MRJ SDK.
Bugs and Limitations
Regrettably, some Java virtual machines have difficulties displaying
this applet:
- NetScape Navigator 4.04 (on MacOS 8.0). The "System Color Info"
button crashes my system. The "Beep" button does nothing and
there are problems with the response test. On System 8.1,
NetScape crashes, but does not crash the system.
- NetScape Navigator 4.04 (on MacOS 8.1). Daylight Savings
Time changeover seems to be on the wrong date.
Bug Fixes
- 1998.04.30
- SystemLocaleInfo "getOffset" now displays the 4-digit year,
rather than the Gregorian.AD static variable appended to the
2-digit year.
- 1998.04.30
- Revised the Daylight Savings Time change computation so it
always chooses the minute before the changeover. The
original computation could select the time after the changeover.
Also, only compute the time to the nearest second, rather than
the nearest millisecond.
Copyright © 1998
Martin Minow. All Rights Reserved.
Permission to use, copy, modify, and redistribute this software and its
documentation for personal, non-commercial use is hereby granted provided that
this copyright notice and appropriate documentation appears in all copies. This
software may not be distributed for fee or as part of commercial, "shareware,"
and/or not-for-profit endevors including, but not limited to, CD-ROM collections,
online databases, and subscription services without specific license. The
author makes no expressed or implied warranty of any kind and assumes no
responsibility for errors or omissions. No liability is assumed for any incidental
or consequental damages in connection with or arising out of the use of the
information or program.