Microsoft SDK for Java

Button.getBackColor

Retrieves the button's current background color.

Syntax

public final Color getBackColor()

Return Value

Returns a Color object that represents the button's current background color.

Remarks

Because the button color is read-only, this method always returns the value of the CONTROL constant, which specifies the system backcolor for buttons.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.