Partheban Udayakumar wrote:Maneesh
Thanks for the reply. The coding for the table was done by another person and he has used AbstractTableModel for it. I think I have to custom code the removal of rows in that case right?
Yes.
This is the actual code from
DefaultTableModel#removeRow(int row);
You can provide a similar method to your table model. Just ensure you fire the fireTableRowsDeleted(row, row) which will subsequently for the fireTableChanged() which will result in your table (view) being updated automatically.
You can also consider extending the DefaultTableModel instead of the abstract one.