Example 11
Smiley Face
Create an applet that uses the mouse click and mouse drag events to draw a smiley face on the screen. Where the user clicks the mouse determines the top left corner of the face. The screen should update as the user drags the mouse. A sample screenshot is shown below.
