Getting values from JTable cell

user2042166 picture user2042166 · May 6, 2013 · Viewed 78.6k times · Source

I made a column editable in Jtable.

I want old values from a cell when I have finished editing a cell

Answer

Maximin picture Maximin · May 6, 2013

You can get the value by using

table.getModel().getValueAt(row_index, col_index);

where table is the name of the table and it will return an Object

Go through this Getting cell value. It may be useful for you.