Centered near the top of the frame.
When a GUI program is running, the user generates an event by interacting with a GUI component. Here are some ways to generate an event:
For a program to respond to an event there must be an event listener object for it. A event listener object contains a listener method for a specific type of event. Programs ignore events if there is no listener for them.
(Thought question: ) Could an event listener object contain other methods in addition to listener methods?