MAS815 class project by Vadim Gerasimov

Assignment: Using Java, create a 400x400-pixel applet. You can only use black and white (no Java gray). Create a graphical object that appears gray. The interface should be simple, click once and the object should appear light, click again and the object should appear dark. You can do this through any means except changing the color of the object itself. Try to be creative. The conditions you implement could involve size, texture, motion, etc... It is more important to experiment than to present a foolproof solution.

Click applet window to change pictures.