title: columns headers of table are not visible in panel
body: <p>the following code is working probably and the columns names are shown</p>
  
  <pre><code>    JScrollPane sp = new JScrollPane(table);
  
      frame.add(sp, BorderLayout.CENTER);
  
      try {
          Class.forName("com.mysql.jdbc.Driver");
          Connection conn = DriverManager.getConnection(url, user, password);
          String str = "select * from patient ";
  
          PreparedStatement pst = conn.prepareStatement(str);
          ResultSet rs = pst.executeQuery();
          table.setModel(DbUtils.resultSetToTableModel(rs));
  
  
      } catch (Exception exc) {
          exc.printStackTrace();
      }
  </code></pre>
  
  <p>but with this code the columns names are not visible </p>
  
  <pre><code>try {
  
     Class.forName("com.mysql.jdbc.Driver");
  
      Connection conn = DriverManager.getConnection(url, user, password);
        String str = "select * from staff";
  
          PreparedStatement pst = conn.prepareStatement(str);
          ResultSet rs = pst.executeQuery();
          table.setModel(DbUtils.resultSetToTableModel(rs));
  
      } catch (Exception exc) {
  </code></pre>
  
  <p>can you help me please  ?</p>
  
  <p>thanks </p>