I am new to java. I am implementing a functionality where by a user fills some textFields and the data is added as a new row in a Jtable.The table will hold more than one row before saving. I created the table using netbeans Swing controls. its variable name is tblLists and has colums X1,X2,X3,X4. I wanted a code that after clicking a button,the new record is saved as a new row in the Jtable. after that, I will loop through the contents and save to mysql DB.