from JDK documentation:

setBackground

public void setBackground(Color c)

Sets the background color of this component.
Parameters:
c - The color to become this component's color. If this parameter is null then this component will inherit the
background color of its parent. background color.