Before You Begin
Please follow the instructions in this section to ensure that Java is installed properly on your computer before you begin using this book.
Font and Naming Conventions
We use fonts to distinguish between on-screen components (such as menu names and menu items) and Java code or commands. Our convention is to emphasize on-screen components in a sans-serif bold Helvetica font (for example, File menu) and to emphasize Java code and commands in a sans-serif Lucida font (for example, System.out.println()).
Java Standard Edition Development Kit (JDK) 6
The examples in this book were developed with the Java Standard Edition Development Kit (JDK) 6. You can download the latest version of JDK 6 and its documentation from