The Java Foundation Classes

The Java Foundation Classes—also known as the JFC—are a set of java packages encompassing the following Apis:

  • Abstract Window Toolkit (1.1 and beyond)

  • Swing Components

  • Java 2D Api

  • Accessibility Api

Some of the Apis listed above span multiple packages. The 2D Api has classes in both java.awt and java.awt.image, for instance. Although there are specific packages, such as java.awt.geom, support the 2D Api, a good deal of the foundation for the 2D Api resides in the java.awt package.

The core of the JFC is the AWT (1.1 and beyond), which is the subject matter of this book. The AWT provides the following infrastructure for JFC components:

  • Delegation event model

  • Lightweight components

  • Clipboard and data transfer

  • Printing and mouseless ...

Get Graphic Java™ 1.2, Volume I: AWT, Third 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.