Method setBackground(Color c)
Return type: void
Member of:
java.awt.Component
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
getComponent().setBackground( Color.white );
2
super.setBackground(Color.white);
3
setBackground ( background );
4
_delegate.setBackground(color);
5
setBackground(Color.lightGray);
6
rendererPane.setBackground(Color.red);
7
setBackground(SystemColor.control);
8
l.setBackground(SystemColor.control);
9
status.setBackground (Color.black);
10
setBackground ( background_Color );
11
getRowHeader().getView().setBackground( getViewport().getBackground() );
12
setBackground(gray);
13
component.setBackground(getBackground());
14
tableScrollPane1.getViewport().setBackground(Color.pink);
15
saveArrayLayoutButton.setBackground(salColor);
16
c.setBackground(newColor);
17
rendererComponent.setBackground(bg2);
18
popup.setBackground(Color.lightGray);
19
applet.setBackground( color );
20
iMessageContentPanel.setBackground(SystemColor.control);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.