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 is a parameter in matrices?

1003


What is a lambda expression ? What's its use ?

1069


What is abstraction in java?

1034


How do you declare a destructor in java?

945


What are the different access modifiers available in java?

998


Is string serializable in java?

978


How can we avoid including a header more than once?

997


What function extracts specified characters from a string?

969


Can we write a class without main method in java?

915


What are autoboxing and unboxing? When does it occur?

904


What is tcp ip in java?

1074


What is the exact difference in between unicast and multicast object? Where we will use?

959


What is null object in java?

972


What is the difference between stream and buffer?

936


What should I import for arraylist in java?

996