Microsoft SDK for Java

Button.getBrush

Retrieves the brush used to display this control.

Syntax

public final Brush getBrush()

Return Value

Returns a Brush object that represents the default system brush.

Remarks

Because a control's background color is read-only, this method always returns the default system brush.

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