Hi Please guide me how I detect data change in table how i tablelistner to detect data change please give right Help
posted 9 years ago
You can implement table model to represent the table data. for that you need to create your own class which will extend AbstracTableModel. This customized tablemodel class can be passed to JTable constructor.
AbstractTableModel provides some methods like getValueAt(row, column) , setValueAt(object, row, column) etc. These methods will be called automatically when data is displayed/changed.
So you can write your own code to populate the data beans with the changed data in setValueAt().