java swing clear jtable code example
Example: clear jtable rows java
DefaultTableModel model = (DefaultTableModel) table.getModel();
model.setRowCount(0);
model.setColumnCount(0);
DefaultTableModel model = (DefaultTableModel) table.getModel();
model.setRowCount(0);
model.setColumnCount(0);