Originally posted by ram shyam:
Hi all,
...Is it feasible to have the highlight on the same row?
The AbstractTableModel or rather any table model is not aware of selections. It is handled by the ListSelectionModel.
You will need to remember the current selection and reset it back after editing.
Take a look at JTable#getSelectionModel and ListSelectionModel#setSelectionInterval.