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 is the unit of plancks constant?

574


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1436


Explain inheritance in java?

556


What happens if an exception is not handled in a program?

626


How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?

544






What is passing by reference in java?

543


What is += mean in java?

545


When should a function throw an exception?

599


What is array initialization in java?

497


What is the difference between the font and fontmetrics classes in java programming?

505


How does sublist works in java?

543


What is the purpose of final keyword and when to use it?

528


Can I overload to string method

969


Compare overloading and overriding?

561


Differentiate between array list and vector in java.

638