title: JTable Column header
body: <p>I'm trying to display more detailed column headers, without using the database column names supplied by <a href="http://technojeeves.com/joomla/index.php/free/59-resultset-to-tablemodel" rel="nofollow"><code>DbUtils.resultSetToTableModel()</code></a>. Here is my code:</p>
  
  <pre><code>ResultSet rs = null;
  PreparedStatement pst = null;
  String sql = "SELECT * From product";
  String col[] = {"Product No", "Name", "Price", "QOH"};
  DefaultTableModel dtm = new DefaultTableModel();
  try {
      pst = conn.prepareStatement(sql);
      rs = pst.executeQuery();
      dtm.setColumnIdentifiers(col);
      ProductList_tbl.setModel(dtm);
      ProductList_tbl.setModel(DbUtils.resultSetToTableModel(rs));
  }
  </code></pre>
  
  <p>but it still displays the database table column names.</p>