Dot Demo
Once the Applet starts, click on the white space below to add a randomly colored Dot.
Links
See Fr Chris' code