Solution:
A GUI component can handle its own events, by implementing the corresponding event-listener interface and adding itself as its own event listener.
Credit: 3870