Your approach is incorrect. You can easily detect data changes in your TableModel
, specifically in setValueAt
method. Once you detected the change and reacted on it, you have to call one of the fireTable..
methods to let table and all other listeners know that data changed
There no need to assign any listeners to cell editors at all.