Overriding paint()
Class MyFrame contains instance variables
- used to store X and Y coordinate information.
Overridden paint method
- causes clickX and clickY values
- to be displayed in client area of Frame object
- at location specified by values of clickX and clickY.