public class ColorChooser
extends java.lang.Object
Constructor and Description |
---|
ColorChooser() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Main method for testing the ColorChooser
|
static java.awt.Color |
pickAColor()
Method to let the user pick a color and return
the color object.
|
public static java.awt.Color pickAColor()
public static void main(java.lang.String[] args)
args
- the array of arguments sent to the main method