Chapter 13. AWT Components

Topics in This Chapter

  • The Component class

  • Creating lightweight components

  • The major types of windows, including Panel, Applet, Frame, and Dialog

  • Closing a Frame from a browser Applet

  • Putting menus in Frames

  • Creating scrollable windows

  • Using object serialization to save components to disk and reload them

  • Processing events in GUI controls

  • The major types of controls including labels, buttons, check boxes, list boxes, and textfields

The Abstract Window Toolkit (AWT), introduced in the first release of Java, provides basic window and control components for creating GUI programs. Since the release of the Java 2 Platform, the AWT components are now superseded by the newer Swing components (covered in Chapter 14, “Basic Swing,” and ...

Get Core Web Programming, Second 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.