Swing Event Java Tutorial

In the event model, there are three participants:
The event source, the object whose state changes.
The event object, encapsulates the state changes in the event source.
The event listener, the object that wants to be notified.