Simple Graphics. "Java Essentials" Chapter 4, P4.8-9 Applet Source Code