Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the difference between the JDK 1.02 event model and the event-delegation model introduced with JDK 1.1?
What is the difference between the JDK 1.02 event model and the event-delegation model introduced with JDK 1.1?
✍: Guest
The JDK 1.02 event model uses an event inheritance or bubbling approach. In this model, components are required to handle their own events. If they do not handle a particular event, the event is inherited by (or bubbled up to) the component's container. The container then either handles the event or it is bubbled up to its container and so on, until the highest-level container has been tried. In the event-delegation model, specific objects are designated as event handlers for GUI components. These objects implement event-listener interfaces. The event-delegation model is more efficient than the event-inheritance model because it eliminates the processing required to support the bubbling of unhandled events.
2012-12-27, 2133👍, 0💬
Popular Posts:
Write out a function that prints out all the permutations of a string. For example, abc would give y...
What Are Data Pump Export and Import Modes? - Oracle DBA FAQ - Loading and Exporting Data Data pump ...
What are shared (VB.NET)/Static(C#) variables? Static/Shared classes are used when a class provides ...
What Is the Difference between Formal Parameters and Actual Parameters? - Oracle DBA FAQ - Creating ...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...