The examples in these directories are arranged in the following way: package | +--class | +--CLASS EXAMPLE | +--method | +--METHOD EXAMPLE For example, to find the class example for the RGBImageFilter class, go to the directory: awt.image/RGBImageFilter To find the method example for Component.repaint(), go to the directory: awt/Component/repaint In these directories you will find the example source code, compiled class files, and any necessary supporting files. You can run most examples with the command: java Main If the example requires an input file such as a GIF file, include it as a parameter on the command line: java Main duke.gif Some examples are executed using the appletviewer. For these examples, the HTML file is included. Run the example as: appletviewer index.html -- Note that not all examples in the book are included in these directories. In particular, we've only included examples that are complete programs. Examples that are code fragments have not been included. Cheers, Patrick Chan Rosanna Lee September 1996 NOTE: The duke image used in some examples is copyright protected by Sun Microsystems Inc. and may not be redistributed.