private static String fillString(String in,int len){
  String out=new String(in);
  while (out.length() < len) {
    out=" " + out;
  }
  return (out);
}

private static String fillString ( String in , int len ) { String out = new String ( in ) ; while ( out . length ( ) < len ) { out = " " + out ; } return ( out ) ; }
fills a string with blanks until it reaches a desired length .
