private static void printEllipsisRow(int width, int printWidth,
      int startX) {
    System.out.print("|");
    if (startX > 0)  // Print an extra column of "..."s at the beginning.
      System.out.print("...,");
    for (int x = 0; x < printWidth; x++)
      System.out.print("  ...  ");
    if (printWidth < width)  // Print an extra column of "..."s at the end.
      System.out.print("...");
    System.out.println("|");
  }