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 do you understand by java?
What do you know about java?
How to find the length and capacity of a string buffer ?
What is the difference between a public and a non-public class?
How transient variable is different from volatile variable?
Hai all I want to print given array in reverse order Ex: int a[]={1,2,3,4,5};display this array in reverse order.
can any one send me the example program of immutable class?
what do you mean by classloader?
Is double bigger than float?
what is java
What error occurs if a try-catch-finally statement sequence does not have a catch clause?
What does regex mean?