I have an AbstractTableModel, I read data from database and show them in JTable. Then I'd like to edit some data inside JTable, and when I have edited it I would like to send them back by clicking a jbutton. The problem is that I can not figure out how to programm it, I've tried to rewrite setValueAt method, but my data changes in a JTable only when I change them in a database. Do you have any ideas how can I do this?
Thank you in advance.
Have you tried to call model.fireTableDataChanged() after updating data in the model?
It's better for me to help if you post your code here.