Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain Event handling in AWT?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does .equals do in java?

1003


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

931


Is java a compiler?

916


How is garbage collection controlled?

1113


How is a variable stored in memory?

932


What are wrapped classes in java programming?

1017


Can an unreferenced object be referenced again?

1132


What is the meaning of I ++ in java?

1098


What is memory leak and how does java handle it?

931


What is the base class of all exception classes in java?

997


What is a control variable example?

949


which pattern is default in scanner package?

2185


Distinguish between a predicate and a function?

938


Explain the difference between association, aggregation and inheritance relationships.

1025


List out five keywords related to exception handling ?

950