October 2001
Intermediate to advanced
640 pages
18h 58m
English
The AWT (the Abstract Windowing Toolkit) and the newer Swing library extensions are the portions of the Java run-time library that are involved with creating, displaying, and facilitating user interaction with window objects. The AWT is an example of a software framework. As we noted in Chapter 21, a framework is a way of structuring generic solutions to a common problem, using polymorphism as a means of creating specialized solutions for each new application. Examining the AWT will illustrate how polymorphism is used in a powerful and dynamic fashion in this library.
In Java, the class Frame represents the Java notion of an application window, a two-dimensional ...
Read now
Unlock full access