ColorDialog.getCustomColors

Overview | Methods | This Package | All Packages

ColorDialog.getCustomColors

Retrieves an array that represents the set of custom colors defined in the dialog box.

Syntax

public final int[] getCustomColors()

Return Value

Returns an array of integers that represent the RGB values for colors that will appear in the custom colors area of the dialog box.

Remarks

Each integer in the color array contains three values in the range 0-255 that represent the red, green, and blue components of the color. The red value is stored in the high-order byte, the green value in the middle byte, and the blue value in the low-order byte.

See Also   setCustomColors