Searched refs:foregroundColor (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DRTFGenerator.java158 Object foregroundColor, backgroundColor;
165 foregroundColor = StyleConstants.getForeground(a);
166 if (foregroundColor != null &&
167 colorTable.get(foregroundColor) == null) {
168 colorTable.put(foregroundColor, new Integer(colorCount));
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXBaseMenuWindow.java59 private Color foregroundColor; field in class:XBaseMenuWindow
816 foregroundColor = new Color(MotifColorUtilities.calculateForegroundFromBackground(red,green,blue));
820 disabledColor = (backgroundColor.equals(Color.BLACK)) ? foregroundColor.darker() : backgroundColor.darker();
829 return foregroundColor;
H A DXListPeer.java1699 Color foregroundColor = getListForeground();
1700 return (backgroundColor.equals(Color.BLACK)) ? foregroundColor.darker() : backgroundColor.darker();
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java171 public Color foregroundColor; field in class:SunGraphics2D
235 foregroundColor = fg;
241 paint = foregroundColor;
1669 return foregroundColor;
1697 eargb = foregroundColor.getRGB();
1715 this.paint = foregroundColor = color;

Completed in 48 milliseconds