title: How to print multiple header lines with MessageFormat using a JTable
body: <p>I have a table called <code>table</code> and its filled with data, I also have a <code>MessageFormat</code> header I want to use as a header to print the <code>JTable</code> this is the <code>MessageFormat</code>:</p>
  
  <pre><code>MessageFormat header = new  MessageFormat("Product: "
                      + task.getProductName() + "  Job: "
                      + task.getJobNumber() + "  Task: " + task.getTaskID()
                      );
  </code></pre>
  
  <p><strong>I want to print 3 lines in the header, one for Product, Job and Task</strong></p>
  
  <p>the way I print this <code>table</code> is like so:</p>
  
  <pre><code>table.print(JTable.PrintMode.FIT_WIDTH, header, null);
  </code></pre>
  
  <p>I can't seem to figure out how to print the header in 3 seperate lines, I tried using the <code>\n</code> to make a new line but that doesn't seem to work.</p>