The mousePressed() method (cont'd)
This causes overridden paint() method to be executed
- when the operating system deems such execution to be appropriate.
The overridden paint() method
- displays coordinate information
- stored in clickX and clickY
- on the screen in the proper
location.