Share via


Component.getBackground

Class Overview | Class Members | This Package | All Packages

Syntax

public Color getBackground()

Returns

This component's background color. If this component does not have a background color, the background color of its parent is returned.

Description

Gets the background color of this component.

See Also

setBackground