Button.getForeColor

Overview | Methods | This Package | All Packages

Button.getForeColor

Retrieves the button's current foreground color.

Syntax

public final Color getForeColor()

Return Value

Returns the button's current foreground color.

Remarks

Because the button's foreground color is read-only, this method always returns the value of the WINDOWTEXT constant, which specifies the system forecolor.