public static void printPadding(PrintWriter out,int padding){
  for (int i=0; i < padding; ++i) {
    out.print(" ");
  }
}

public static void printPadding ( PrintWriter out , int padding ) { for ( int i = 0 ; i < padding ; ++ i ) { out . print ( " " ) ; } }
print a sequence of spaces
