Jcolorchooser Example, getColor (); − To get the selected color of the Color Chooser.