O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Original AWT Event Model

As is the case with nearly all object-oriented user interface toolkits, the AWT is event driven. Actually, since the AWT uses a peer approach, the underlying event subsystem is native to the platform on which an applet or application is running. So, for instance, if an applet is executed under Motif, it uses the X Window event handling system. Our focus, however, is not on the underlying native event system but on the AWT layer through which we respond to events.

It should be noted that this chapter pertains to the original, inheritance-based event model, for AWT 1.0 and AWT 1.02. The current version[1] of the AWT has a new event model that is delegation based instead of inheritance based and is much improved over ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required