I have a jTable and it\'s got a table model defined like this:
javax.swing.table.TableModel dataModel = new javax.swing.table.DefaultTableModel(data, c
One of the trivial methods is to use the following option.
dataModel.setRowCount(0);
dataModel is the model which you would like clear the content on
However, it is not optiomal solution.