title: How to Add ResultSet Data To JTable with out changing Default Colomn names of jTable
body: <p>I have the following class:</p>
  
  <pre><code>public class customer_master extends javax.swing.JInternalFrame {
  
      Connection con = null;
      PreparedStatement ps = null;
      ResultSet rs = null;
  
      JFrame parent;
      public customer_master(JFrame parent) {
  
          this.parent=parent;
          initComponents();
  
          try {
              String qry="select customer_code, customer_name, customer_address, customer_created_time from customer";
              database.JavaConnect jc= new JavaConnect(); 
              con = jc.ConnectDB();
              ps = con.prepareStatement(qry);
              rs = ps.executeQuery();
              jTable1.setModel(DbUtils.resultSetToTableModel(rs));
              con.close();
          }
          catch(SQLException e)
          {
              JOptionPane.showMessageDialog(null, e);
          }
      }    
  }
  </code></pre>
  
  <p>It also change the name of columns but I want to add rs without changing columns name please if any one can help.  Thanks in advance.</p>