DefaultTableModel dm = (DefaultTableModel) getModel();int rowCount = dm.getRowCount();//Remove rows one by one from the end of the tablefor (int i = rowCount - 1; i >= 0; i--) { dm.removeRow(i);}
欢迎分享,转载请注明来源:内存溢出
DefaultTableModel dm = (DefaultTableModel) getModel();int rowCount = dm.getRowCount();//Remove rows one by one from the end of the tablefor (int i = rowCount - 1; i >= 0; i--) { dm.removeRow(i);}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)