Source code:
applet_graphics.java