
Preface
This book is a desktop quick refer ence for Java™ programmers who are writing
applications or applets that involve graphics or graphical user interfaces. The first
part of the book is a fast-paced, “no fluff” introduction to the Java APIs that com-
prise the Java Foundation Classes, or JFC. These chapters are followed by a quick-
refer ence section that succinctly details every class of those APIs.
This book complements the best-selling Java in a Nutshell. That volume introduces
the Java programming language itself and provides an API quick refer ence for the
cor e packages and classes of the Java platform. A third volume in the series, Java
Enterprise in a Nutshell, covers the Java Enterprise APIs. Programmers working on
server-side or enterprise applications will be interested in that book.
Contents of This Book
The first seven chapters of this book document the graphics and graphical user
inter face (GUI) APIs used in client-side Java programming. The chapters are:
Chapter 1: The Java Foundation Classes
Pr ovides a quick introduction to the JFC and the APIs that comprise it.
Chapter 2: Swing and AWT Architectur e
Explains the architectur e used for graphical user interfaces built with the older
Abstract Windowing Toolkit (AWT) and the new Swing API. The remaining
chapters of the book assume an understanding of the fundamentals presented
her e.
Chapter 3: Swing Programming Topics
Intr oduces ...