Overview | Methods | Fields | This Package | All Packages
Retrieves the current foreground color for this control, which is the color the control uses to draw its text.
Syntax
public Color getForeColor()
Return Value
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.
Remarks
This is an ambient property and will always return a non-null value.
See Also setForeColor