title: Creating multi-line header for JTable
body: <p>I use JTable GUI component with NetBeans. </p>
  
  <ul>
  <li><p>I want to create multi-line headers</p></li>
  <li><p>I am able to this, when I create custom renderer for table headers</p></li>
  <li><p>BUT I don't want to, because I like default one (I use it everywhere else in program).</p></li>
  <li><p>So the problem is : <strong>How to make
  header heigher?</strong>  </p></li>
  </ul>
  
  <p>My code :</p>
  
  <pre><code>String headers[] = new String[3];
      headers[0] = "Header1";
      headers[1] = "Header2";
      headers[2] = "&lt;html&gt;&lt;center&gt;Long&lt;br&gt;Centered&lt;/br&gt;&lt;/center&gt;&lt;/html&gt;";
      DefaultTableModel dtm = new DefaultTableModel();
      dtm.setColumnIdentifiers(headers);
      dtm.setRowCount(5);
      jTable1.setModel(dtm);
      jTable1.getTableHeader().setPreferredSize(
                  new Dimension(jTable1.getColumnModel().getTotalColumnWidth(),32));
  </code></pre>