public void setCaretColor (Color c)

Sets the current color used to render the caret. Setting to null effectively restores the default color. Setting the color results in a PropertyChange event ("caretColor") being fired.

Parameters:
c    the color

See also:
getCaretColor

@beaninfo description: the color used to render the caret bound: true preferred: true