Method setForeground(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().setForeground( Color.black );
2 setForeground ( foreground );
3 _delegate.setForeground(color);
4 inner.setForeground(c);
5 status.setForeground (Color.white);
6 msgTF.setForeground(msgColor);
7 this.setForeground(Color.orange);
8 setForeground(foregroundColor);
9 component.setForeground(Color.blue);
10 button.setForeground(color);
11 clear_button.setForeground ( Color.magenta );
12 setForeground(Color.black);
13 lComponent.setForeground(lValue);
14 setForeground( INVISIBLE );
15 message.setForeground(SystemColor.activeCaption);
16 c.setForeground(UIManager.getColor("ComboBox.disabledForeground"));
17 meter.setForeground (Color.blue);
18 message.setForeground(Color.white);
19 labelPanel.setForeground (java.awt.Color.blue);
20 frame.setForeground(Color.black);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.