To run it as an application, execute the Font2DTest class in a 1.3-compatible Java runtime system. For example:
Font2DTest
% java -jar Font2DTest.jar
The program will run as an applet only in a 1.3-compatible browser or viewer. Here's the applet:
Sorry, your browser can't display applets.