My Color Class Example
by Michael Thomas
(Tutorial Home Page)
- Set colors by choosing from a pick list.
- Set colors by giving RGB values.
- Setting colors for the following components: Label, Button, Textfield
- Use setBackgound() & setForeground() for components.
- repaint() a component.
The source