SetColor Method (JColorChooser)

Class

JColorChooser class

Action

Sets the current color of the color chooser to the specified color.

Syntax

colorChooser.SetColor(color)
Variable Description
color The color to set. COLOR.

Examples

COLOR colorRed = {255, 0, 0}
ColorChooser.SetColor(colorRed)