Method equals(Object obj)
Return type: boolean
Member of: java.awt.Color
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 } while (c.equals(Color.black));
2 if (!color.equals(m_text.getBackground()))
3 if (color.equals(getBackground()))
4 if (value != null && !value.equals(getDefault(key)))
5 || (newForeColor != null && newForeColor.equals(c.foreColor))
6 || (newBackColor != null && newBackColor.equals(c.backColor))
7 if (c.equals(Color.red)) name = colors[0];
8 if (!newColor.equals(color))
9 enabled.equals(theme.getControl()) &&
10 if(!lastFG2.equals(fg))
11 if (currcolor.equals(oldc))
12 if (c == null || mix.equals(c)) return;
13 if (borderWidth != 0 && !borderColor.equals(color)) {
14 boolean colorMatch = (back != null) && (back.equals(table.getBackground())) && table.isOpaque();
15 && !tankAccessor.getColor ( ).equals ( friendColor ) )
16 if (!bufferCreated || !getParentBackground().equals(background)) {
17 if (colors[i].equals(c)){return i;}
18 if(_makeBrighter && !figTextBackgroundColor.equals(Color.white)) {
19 boolean colorMatch = (back != null) && ( back.equals(table.getBackground()) ) && table.isOpaque();
20 if (foreground.equals(Color.red))
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.