Chapter 5. The AWT Components


So far, I've emphasized more concepts than pragmatic programming. You've become familiar with the concepts and ideas upon which Java GUI programming, and the Swing architecture in particular, are built.

At this point, you know how to organize a GUI program and get it to display. The sample GUI screens did not have much on them, however. It's now time to introduce some actual components—real widgets—that you can use to build more functional GUIs.

This chapter introduces the AWT component set. You will look at the basic visual components, how to construct them and add them to a GUI, and how to use their basic features. It is still possible to build complete GUI applications using only ...

Get Java GUI Development: The Authoritative Solution now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.