public boolean equals(Object o)
public boolean equals (DisplayMode dm)
  public boolean equals(Object o)  {    if (! (o instanceof DisplayMode))      return false;    DisplayMode m = (DisplayMode) o;    return width == m.width && height == m.height && bitDepth == m.bitDepth      && refreshRate == m.refreshRate;  }