private void printLine(int size) {
    for (int i = 0; i < size; i++) {
      printStream.append("-");
    }
    printStream.append("\n");
  }
private void printLine ( int size ) { for ( int i = 0 ; i < size ; i ++ ) { printStream . append ( "-" ) ; } printStream . append ( "\n" ) ; }
Auxiliary method that prints a horizontal line of a given size