Programming Resources
For Fun and Learning
Charles Cusack
Computer Science
Hope College
main

Python
C++

JAVA


PHP
SQL
Alice

SamplePicture


Description

Run it
Download jar file (Right click)

PictureApplet.java
PicturePanel.java

Description
SamplePicture is a simple applet that draws a picture of myself. Every click of the mouse button on the applet makes one day go by. Each day, my hair gets longer. There is a slight chance each day I get a haircut.

This uses a MouseAdapter to deal with several (but not all) mouse events.

This is a full implementation of BlankPicture.