I have this JTable having an AbstractTableModel as its model. The initial contents are parsed to a two-dimensional array Object from a ArrayList generic to a Entity of the system. Also in the model, isCellEditable is overriden with respect to data integrity. After setting the model, I have set some cell editor with specified swing objects.
My problem now is that. How could I fill-up the column[0] of the table once changes on an empty row occurs. Also, once updates happens to the empty row, another empty row will automatically be added to the JTable.
Am I going to use a TableModelListener? How could I implement it without resetting the model of the JTable again.
Most likely this is similar to Microsoft Access - Form presentation to tables/queries.
Your response and comment will be highly appreciated.
Thanks, Cyril H