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 |
What are default methods ?
What is gui programming?
What is the difference between C++ and Java and your preferences?
What is meant by Servelet? What are the parameters of service method?
What is unmodifiable list in java?
What is bubble sort in java?
What is the difference between equals() and?
Why only one Class is public in one file? Explain in details. Thanks in Advance.
What is the argument type of main() method?
what is d difference between deep cloning and shallow cloning in core java?
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.
what is the difference between static block and static method