A custom component that lets the user select a color. The available colors are bright, saturated colors in a full range of hues. The possible colors are shown in a strip. The user clicks on this strip to select a color. The selected color is hilited with a white frame. A program that uses this component can find out which color is currently selected by calling the getSelectedColor() method. The preferred size of this component is 108-by-24. There is a gray border around the component, two pixels wide on top and bottom and four pixels on left and right.

0 Shares
Share
+1
Tweet
Share
Stumble