After discussing the Event classes it is time now to discuss the key interface listeners. Listeners are nothing
but instances of classes that implement listeners interface defi ned by java.awt.event package. The
Listeners classes implement the interfaces by providing the body for the methods. All listener interfaces
have their EventListener as their super interface. All the listener interfaces and their respective methods
are discussed below:
1. The Actionlistener interface
It is the listener interface for receiving action event. The class that is interested in processing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.