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 ...

Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.