public String tabMaker ( int n ) { StringBuilder buf = new StringBuilder ( "" ) ; for ( int i = 1 ; i <= n ; i ++ ) { buf . append ( " " ) ; } String tab = buf . toString ( ) ; return tab ; }
Calculates the number of tabulations to write at the beginning of a line