title: Customizing JTable.print() method to print table data with varying row heights
body: <p><strong>GOAL</strong>:  Print a table with each row having varying row heights to GUI  and  to a physical printer using custom renderers.</p>
  <p>I am able to print the JTable data to a table within my Java Swing GUI by extending the <code>TableCellRenderer</code> using a customized renderer to change the row height for each row depending on the height needed for each row.</p>
  <pre><code>int height = stringValue.length * 22;
  if(height &gt; table.getRowHeight(row)) {
      table.setRowHeight(row, height);
  }
  </code></pre>
  <p>This works for the GUI display and outputs perfectly to my screen.</p>
  <p>However, when I want to physically print a paper copy of  the entire table, I am unable to correctly print the new row heights using the <code>jtable.print()</code> method.  Instead, the data is being cut off because only a single row height is used for all rows.  i.e. it ignores my new inputs (from the looks of it).</p>