javax.swing
Class ColorTracker
java.lang.Object
javax.swing.ColorTracker
- All Implemented Interfaces:
- ActionListener, EventListener, Serializable
- class ColorTracker
- extends Object
- implements ActionListener, Serializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chooser
JColorChooser chooser
color
Color color
ColorTracker
public ColorTracker(JColorChooser c)
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from interface:
ActionListener
- Invoked when an action occurs.
- Specified by:
actionPerformed
in interface ActionListener
getColor
public Color getColor()