public static void clearAllRows(JTable table) {
		DefaultTableModel tableModel = (DefaultTableModel)table.getModel();
		int rowCount = tableModel.getRowCount();
		for (int i = 0; i < rowCount; i++) {
			tableModel.removeRow(rowCount - i -1);
		}
	}