This applet demonstrates the usage of the text drawing routines in TextUtils.java. It works basically the same as the ImageExampleApplet, except that instead of drawing an image and allowing the user to resize it, this applet uses TextUtils to draw a string of text. The main differences between this applet and the ImageExampleApplet are in the intialization and paint routines.

TextExampleApplet.java TextUtils.java