The purpose of this lesson is to implement a Mouse Listener. The mouse provides a very convenient way to enter data into a demonstration applet like the kind done in the ENME489C class.
Users are already familiar with the operation of the mouse, and it gives quick visual feedback.
The two types of interfaces you will most likely want to build for your Applet are MouseListener for clicking and selecting and MouseMotionListener for moving and dragging. The applet allows the user to scribble on the top of a predefined image. Currently I use a picture of myself being particularly vain. Below are some of the possible sketches I have generated. I expect people might get quite creative after the midterm.