Sunday, July 16, 2023

Event Listener Interfaces

 Event Listener Interfaces

 event model has two parts: sources and listeners. 

Listeners are created by implementing one or more of the interfaces defined by the java.awt.event package. When an event occurs, the event source invokes the appropriate method defined by the listener and provides an event object as its argument. 




No comments:

Post a Comment