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

/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXComponentPeer.java854 static final int HIGHLIGHT_COLOR = 1; field in class:XComponentPeer
898 c[HIGHLIGHT_COLOR] = Color.getHSBColor(hue,saturation,highb);
914 if ((c[BACKGROUND_COLOR].equals(c[HIGHLIGHT_COLOR]))
919 c[HIGHLIGHT_COLOR] = c[SHADOW_COLOR].brighter();
920 } else if (c[BACKGROUND_COLOR].equals(c[HIGHLIGHT_COLOR])) {
921 c[HIGHLIGHT_COLOR] = c[SHADOW_COLOR];
968 systemColors[HIGHLIGHT_COLOR] = SystemColor.controlLtHighlight;
982 g.setColor(raised ? colors[HIGHLIGHT_COLOR] : colors[SHADOW_COLOR]);
984 g.setColor(raised ? colors[SHADOW_COLOR] : colors[HIGHLIGHT_COLOR]);
993 g.setColor(raised ? colors[HIGHLIGHT_COLOR]
[all...]

Completed in 231 milliseconds