What are listeners in java and explain ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / raman
Twelve types of event are used in Java AWT. These are as
follows :
1. ActionEvent
2. AdjustmentEvent
3. ComponentEvent
4. ContainerEvent
5. FocusEvent
6. InputEvent
7. ItemEvent
8. KeyEvent
9. MouseEvent
10. PaintEvent
11. TextEvent
12. WindowEvent
Is This Answer Correct ? | 0 Yes | 2 No |
What does method mean?
Is math an abstract class in java?
Difference between String & StringBuffer
16 Answers IBM, Infosys, Tech Mahindra, Wipro,
What is a qualifier in a sentence?
Why const and goto are reserved keyword in java?
Explain an intermediate language?
when you will synchronize a piece of your code? : Java thread
explain the clone method and clonable interface
What are the features of junit?
Is java 1.7 the same as java 7?
What is an class?
Is java 9 released?