CSC 171 SPRING 1999

LAB # 6 : GRAPHICS

DUE: March 1st, 12:00 Noon

Write an applet that displays each font’s name in that font, with a random color. The program should also print the metrics for each font. The program should draw three random lines in a random color. The program should draw two random rectangles and two random ovals of random color using XORmode. D&D Figure 9.18 is a good starting place for this applet.

LAB 6 Example