private void writeChars(int number,char c) throws IOException {
  for (; number > 0; number--) {
    writer.write(c);
  }
}

private void writeChars ( int number , char c ) throws IOException { for ( ; number > 0 ; number -- ) { writer . write ( c ) ; } }
writes an amount of chars , mostly spaces
