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