Class ColorChooser

java.lang.Object
  extended by ColorChooser

public class ColorChooser
extends Object

A class to make working with a color chooser easier for students. It uses a JColorChooser to let the user pick a color and returns the choosen color object. Copyright Georgia Institute of Technology 2004

Author:
Barb Ericson ericson@cc.gatech.edu

Constructor Summary
ColorChooser()
           
 
Method Summary
static Color pickAColor()
          Method to let the user pick a color and return the color object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorChooser

public ColorChooser()
Method Detail

pickAColor

public static Color pickAColor()
Method to let the user pick a color and return the color object.

Returns:
the picked color or red if no color was picked