1.6 Summary
In this chapter, you have learned the fundamental behavior of widgets. Widgets are created using standard constructor patterns and explicitly disposed of when no longer needed. User interfaces are built in SWT by the composing instances of widgets to form containment hierarchies. Rather than subclassing and overriding methods, Listeners are used to notify an application when something interesting has happened. Methods of the class Widget were described as they relate to events, application data, and the Display.