Sets the current color of the color chooser to the specified RGB color. Note that the values of red, green, and blue should be between the numbers 0 and 255, inclusive.
r | an int specifying the amount of Red | |
g | an int specifying the amount of Green | |
b | an int specifying the amount of Blue |
IllegalArgumentException | if r,g,b values are out of range |
java.awt.Color
Diagram: colorchooser