Method getForeground()
Return type: java.awt.Color
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 this ( component, component.getForeground ( ) );
2 g.setColor(l.getForeground());
3 this(textPane, textPane.getForeground());
4 c.setForeground(getForeground());
5 if (title.getForeground() == this.getForeground()) title.setForeground(color);
6 final Color invBackground = c.getForeground();
7 graphics.setColor ( component.getForeground ( ) );
8 setForeground(comboBox.getForeground());
9 cb.setForeground(list.getForeground());
10 if (getForeground() == color) r.setSelected(true);
11 Color fg = getForeground(), bg = getBackground();
12 g.setColor( getForeground() );
13 g2.setColor(surface.getForeground());
14 result.getForeground());
15 setForeground( header.getForeground() );
16 result.getForeground());
17 label.setForeground(field.getForeground());
18 g.setColor (getForeground ());
19 Color fg = c.getForeground();
20 Color defaultColor = getForeground();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.