private static void drawLine ( int ... widths ) { for ( int width : widths ) { for ( int i = 1 ; i < width ; i ++ ) { System . out . print ( ' ' ) ; } System . out . print ( ' ' ) ; } System . out . println ( ) ; }
Draws a line to isolate headings from rows .