Source code: Fred.java extends BufferedApplet.java