Sets an array that represents the set of custom colors that are defined in the dialog box.
public final void setCustomColors( int[] value )
value
An array of integers that represent the RGB values for colors that will appear on the custom colors area of the dialog box.
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. Use the Color.getRGB method to convert a Color object to an RGB integer.
See Also getCustomColors