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 is a stringbuffer?

0 Answers  


Is array serializable java?

0 Answers  


What is CardLayout?

1 Answers   Infosys,


What happens if constructor is private?

0 Answers  


can java object be locked down for exclusive use by a given thread? : Java thread

0 Answers  






What is a method type?

0 Answers  


Can an integer be null java?

0 Answers  


What are the four versions of java?

0 Answers  


what is the significance of listiterator in java?

0 Answers   IBS,


What is autoboxing in java?

0 Answers  


What is arrays fill in java?

0 Answers  


What is the Difference between Final Class && Abstract Class?

0 Answers   HCL,


Categories