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

Capture4

 

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

©2023 MYBSCIT.com. An initiative by some failures to make student scholars.

or

Log in with your credentials

Forgot your details?