Color Editor


The Color Editor contains several tabs, each of which represents a different way to select a color.

Table 72: Panes in the Color Editor
Tab
Description
Swatches
Contains the Swing spectrum of colors and an additional color chart of the most recently selected colors. Click on a color in the chart to select it. The Preview panel demonstrates how your color selection looks as either foreground or background color. Click OK to apply the color.
HSB
Displays a color square that enables you to change the hue, saturation, and brightness to create your own shade of color. Click on the H, S, or B radio button, then drag the circle in the square to adjust that color aspect. As you drag the circle, the current values for hue, saturation, brightness, are displayed as well as the values for red, green, and blue amounts.
RGB
Provides slider controls that you use to set the individual values for red, green, and blue. You can also enter values for each in the text fields provided. You can check your color setting in the Preview panel. Click OK to apply the color.
AWT palette
Contains a scrolling list of standard AWT colors. Click on a color to select it, then click OK to apply the color.
Swing palette
Contains a scrolling list of preset default colors for each state of a Swing component that uses a color indicator or has a color background or foreground. You can apply any of these colors to any item with a color property.

Contents Prev Next Index