15. Mouse events
- Modify the applet (Java code) so that it draws a filled
Rectangle instead of a filled circle. I will not tell you how to
draw a filled Rectangle: you will have to find this by looking
it up in the on-line documentation (or in a Java reference book from the lab).
- If the white background color of the applet on the white
background of the html page is not to your liking, change the
color of the applet background to something else.
- The black spot appears slightly off the position where you actually clicked on
the applet. Modify the code so that the mouse click will be the center of the black circle.