Explain Event handling in AWT?



Explain Event handling in AWT?..

Answer / niranjanravi

There are 2 ways to handle the events.
1.EventInheritance model
2.EventDelegation model.
EVentDelegation model has 2 advantages over
EventInheritance model.
First it enables event handling by objects other than the
ones that generates the events.It allows a clean separation
between components design and its use.
Secondly it performs much better in applications where many
events are generated. This performance improvement is due
to the fact that EventDelegation model doesn't need to
repeatable habndle unhandled events as is the case of
EventInheritance

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More Core Java Interview Questions

What are default methods ?

0 Answers  


What is gui programming?

0 Answers  


What is the difference between C++ and Java and your preferences?

0 Answers   Expedia,


What is meant by Servelet? What are the parameters of service method?

2 Answers  


What is unmodifiable list in java?

0 Answers  






What is bubble sort in java?

0 Answers  


What is the difference between equals() and?

0 Answers  


Why only one Class is public in one file? Explain in details. Thanks in Advance.

12 Answers  


What is the argument type of main() method?

2 Answers  


what is d difference between deep cloning and shallow cloning in core java?

3 Answers   Satyam,


I need some details about an employee. i have only the employee id in my presentation layer(JSP).I entered that ID and click "Show Details" Button. Question is how the JSP pass that id to Controller layer and DAO and what mechanism we are using to retrive data from DB and how the data passed to JSP as a Output. Please explain in detail.

1 Answers   TCS,


what is the difference between static block and static method

19 Answers   Huawei,


Categories