The Event listeners represent the interfaces which are responsible to handle a particular event.
Java have provided us various Event listeners classes and Every method of an event listener has a single and only argument as an object which is the subclass of EventObject class.
For example- the mouse event listener method will accept all instances of MouseEvent, where MouseEvent derived from the EventObject.
The EventListner interface is a interface where every listener interface has to be extend.
This class is defined in the java.util package.
Class declaration
The Following is the declaration for java.util.EventListener interface as
public interface EventListener
AWT Event Listener Interfaces
The Following is the list of commonly used event listeners as