Set the state of the PictureExplorer object
You will probably need to study the event handling code in the
PictureExplorer class
- to fully understand the remaining code in this discussion.
When you click the image in the PictureExplorer object,
- a MouseListener object registered on the
PictureExplorer object
- calls the mousePressed method belonging to that object