Microsoft SDK for Java

Graphics.setBackColor

Sets the background color for the Graphics object. After you set the background color for the Graphics object, that color is used to fill empty regions in the object's bounding rectangle.

Syntax

public final void setBackColor( Color color )

Parameters

color

A Color object that specifies the background color.

See Also   getBackColor

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