Yes, for the figure the mouseOver
event is ignored.
(Some browsers do not ignore this event. They change the icon
used for the mouse pointer to show that there is a new set of options.)
No, for the button the mouseOver
event changes the mouse
pointer from an arrow to a hand.
(Some browsers don't do this.
Of course, when you click the button this
is another kind of event,
and is not ignored, either.
A GUI program consists of three types of software:
The graphical components are Swing objects. You may use them without change or may extend them to make your own classes. Listener methods and application methods are Java methods that you write. Listener methods respond to events by calling application methods. Application methods are ordinary Java methods that perform useful computations. They receive data from the GUI and send data to the GUI to be displayed, but are not usually themselves concerned with the user interface.
Your Web browser has components (such as the "back" and "forward" buttons), listener methods that receive events (such as a click on the "back" button) and application methods that do useful things (such as moving backward or forward one page).
To write a GUI application, keep these three types of software separated (while keeping the big picture in mind). In a big software project an entire team of programmers is assigned to each of the tasks.
Consider a radio and its user interface. Match each part of the radio with its analogous part in a GUI application.