What are listeners in java and explain ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by data type?

535


What are multiple inheritances?

568


What is the use of accept () method in java?

593


What does || mean in vectors?

462


What are exception handling keywords in java?

595






How many types of java are there?

539


Discuss different types of errors that generally occur while programming.

565


What is the basic concept of java?

521


Is a copy constructor?

560


What is the difference between Java1.4 and Java1.5

1811


What is the difference between an if statement and a switch statement?

631


What is concurrent hashmap and its features?

505


Define packages in java?

564


Why is method overloading not possible by changing the return type in java?

573


What are the two types of exceptions in java? Which are the differences between them?

502