I have a jtable which I added a ListSelectionListener. Now when I edit a
cell and then retrieve the value it is null. I have to select a different
cell then back to the one I edited and then the value from the cell is
returned.
I need to edit a cell and as I exit the cell perform some operation and
update another cell. Is there a listener for onCellExit
> I have a jtable which I added a ListSelectionListener. Now when I edit a
> cell and then retrieve the value it is null.
That's because you try to get it before it has been posted to
setValueAt().
> I need to edit a cell and as I exit the cell perform some operation and
> update another cell. Is there a listener for onCellExit
Try the model's setValueAt().