What are listeners in java and explain ?

Answer Posted / raman

A listener is called when the user does something to the user
interface that causes an event. Altho these events usually
come from the user interface.

Named Inner Class Listeners -
Anonymous Inner Class Listeners -
Top-level Listeners -
Action and AbstractAction -
External Listeners -
Subclassing a component and overriding processActionEvent().

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain local datetime api in java8?

560


What is the use of static class?

548


What is difference between hashset and hashmap?

564


What is a static class in java?

557


Difference between abstract and concrete class ?

583






State one difference between a template class and class template.

625


What is the method to declare member of a class static?

539


Can an interface extend another interface?

601


What is a hashmap used for?

650


What are untrusted applets?

587


What is the base class of all exception classes in java?

572


How do I get a substring?

529


What is difference between path and classpath in java?

487


What is difference between fail-fast and fail-safe?

589


What is the disadvantage of synchronization?

564