Before You Start
If you haven't written and run programs using the Java platform, then please close this book and go to the “Getting Started” trail of The Java Tutorial. That trail will introduce the Java programming language and platform and lead you through writing and running a basic application and applet. The trail is included on this book's CD at:
This book is divided into two distinct parts. The first six chapters describe general Swing concepts and introduce you to progressively more difficult code examples. The last four chapters are composed of how-to reference sections.
Our goal was to make it easy to skip around this book, choosing exactly which sections you want to read. That's why the how-to sections ...