Applet name: FontTest
Applet Source: FontTest.java
Import(s): java.applet, java.awt
Feature(s): text
Author: Richard E. Wendt III
FontTest is useful for finding out which fonts are available in a particular implementation of Java. It illustrates how the normal, italic, and bold versions look and how a number of different font sizes appear. Thus, general quality of the font and the legibility of a particular size can be assessed.
Usage Example:
<applet code="FontTest.class" width=700 height=500>
</applet>
This width and height is optimized for the fonts supplied with the
JDK 1.0. If the display is garbled, it may be necessary to adjust the width
and height until everything is nicely laid out, since in many implementations
(e.g., Netscape) an applet cannot resize itself by the time it figures
out how big it needs to be.