I\'m subclassing JTable and using a DefaultTableModel to model my table data. The following class sets up the JTable, and adds one row to the model.
import
Replace your code with the following Here you need to remove first row only that should be iterated for all the rows
private void refreshTable() { int rowCount= model.getRowCount(); // System.out.println(rowCount); for(int i=0;i