Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting values from JTable cell

I made a column editable in Jtable.

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

like image 246
user2042166 Avatar asked May 06 '13 09:05

user2042166


1 Answers

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.

like image 154
Maximin Avatar answered Sep 27 '22 18:09

Maximin