return (mode.getBitDepth() + " bits, " +
return (((mode.getBitDepth() > 0) ? (mode.getBitDepth() + " bits, ") : "") +
  private static String modeToString(DisplayMode mode) {    return (mode.getBitDepth() + " bits, " +            mode.getWidth() + "x" + mode.getHeight() + ", " +            mode.getRefreshRate() + " Hz");  }