welcome to java I sugest you to book of Java swing by oriely Threre are tow fuction in Jtable class add.row(); and removerow(); which yuou call in your interface
JTable itself lacks methods like addRow or removeRow. If you are trying to add and remove rows, check out javax.swing.table.DefaultTableModel. And have you studied the tutorial: