title: Java println formatting so I can display a table?
body: <p>How can I utilize <code>System.out.print(ln/f)</code> in a way that will allow me to format my output into a table?</p>
  
  <p>If I'm to use <code>printf</code>, what formatting should I specify to achieve the below results?</p>
  
  <p>Example table I'd like to print:</p>
  
  <pre><code>n       result1      result2      time1      time2    
  -----------------------------------------------------  
   5      1000.00      20000.0      1000ms     1250ms
   5      1000.00      20000.0      1000ms     1250ms
   5      1000.00      20000.0      1000ms     1250ms
  </code></pre>
  
  <p>With everything lined up nice and pretty?</p>