Chapter 13: Graphical User Interface Controls

Note: this page applies to the now-obsolete first edition of the book. For the second edition, please see http://www.corewebprogramming.com.


This chapter of Core Web Programming (pages 640-747) covers all of the 1.1 AWT GUI controls not previously classified as "windows" and discussed in Chapter 11. For each, it explains the constructors, general usage, additional methods, and event-handling approaches.

Note that the entire text of this chapter is available on-line. Also note that on-line examples that say they require Java 1.1 means that you need IE4 or Netscape 4.06 or later. IE3, Netscape3, and Netscape 4.0-4.05 do not support Java 1.1.


Contents


Java Classes in this Chapter

Note that several of these require Java 1.1. The ones that are designed to work with both 1.0 and 1.1 (ie to support Netscape 4.05 and earlier) might give warnings about "deprecated APIs" when compiled on a Java 1.1 system. You can ignore these warnings.

Labeled GUI Controls

These are panels that incorporate a control and a label, a commonly desired feature. Several of these are used in later chapters.

Classes Used to Test Color Support