An event source (like a button) creates an event object when the
user does something that matters (like clickthe button) . Most
of the code you write (and all the code in this book) will receive
events rather than create events. In other words, you'lJ spend
most of your time as an event listenerrather than an event source.
Every event type has a matching listener interface. If you want
MouseEvents, implement the MouseListener interface.
An event is clicking the mouse? or button itself?
May you show me by code which one is listener and which one is event?