Retrieves the current foreground color for this control, which is the color the control uses to draw its text.
public Color getForeColor()
Returns a Color object that represents the color used to draw text in this control. Returns the foreground color for the control's parent if no foreground color has been explicitly set for this control. Returns the default window text color if no foreground color has been explicitly set for this control or for this control's parent.
This is an ambient property and will always return a non-null value.
See Also setForeColor