Event Handling Syntax
Advertisements
Syntax to Handle the Event
Example
class className implements XXXListener { ....... ....... } addcomponentobject.addXXXListener(this); ....... // override abstract method of given interface and write proper logic public void methodName(XXXEvent e) { ....... ....... } ....... }
Google Advertisment