### Java 2 Interactive Programmer's Workbook

## Source code for Chapter 09

Here is the source code to the exercises and examples for Chapter 09. When possible, we have linked to the corresponding applet as well. You will need to make sure that the Java 2 plug-in is installed on your browser.

Suggestion: Bring up the source code in a separate browser window so you can see the source code and the applet at the same time. To bring up a page in a new window, right-click on the link and select "View link in new window." If you have a three-button mouse, you can middle-click to do the same thing.

#### ColoredButton/ColoredButton.java

- Source code for ColoredButton.java.
- Run the ColoredButton applet.

#### Colors/Colors.java

- Source code for Colors.java.
- Run the Colors applet.

#### Colors/Colors2.java

- Source code for Colors2.java.
- Run the Colors2 applet.

#### Colors/Colors3.java

- Source code for Colors3.java.
- Run the Colors3 applet.

#### Colors/Colors4.java

- Source code for Colors4.java.
- Run the Colors4 applet.

#### DogButton/DogButton.java

- Source code for DogButton.java.
- Run the DogButton applet.

#### DogLabel/DogLabel.java

- Source code for DogLabel.java.
- Run the DogLabel applet.

#### DogTextImage/DogTextImage.java

- Source code for DogTextImage.java.
- Run the DogTextImage applet.

#### Dogs/Dogs.java

- Source code for Dogs.java.
- Run the Dogs applet.

#### FontSelector/FontSelector.java

- Source code for FontSelector.java.
- Run the FontSelector applet.

#### Fonts/Fonts.java

- Source code for Fonts.java.
- Run the Fonts applet.

#### Fonts/Fonts2.java

- Source code for Fonts2.java.
- Run the Fonts2 applet.

#### Fonts/Fonts3.java

- Source code for Fonts3.java.
- Run the Fonts3 applet.

#### Phone/Phone.java

- Source code for Phone.java.
- Run the Phone applet.

#### SelectSound/SelectSound.java

- Source code for SelectSound.java.
- Run the SelectSound applet.

#### Sounds/Sounds.java

- Source code for Sounds.java.
- Run the Sounds applet.

Authors: Kevin Chu and Eric Brower
Copyright 2000 Prentice Hall PTR