public void setTableModel(List<Users> users) {
	eraseTableRows();
	for (int i = 0; i < users.size(); i++) {
		Users u = users.get(i);
		tm.insertRow(i, new Object[] { stuff });
		}
		
	}

private void eraseTableRows() {
        for (int i = 0; i > tm.getRowCount(); i++) {
	         tm.removeRow(i);
	}

i've tried this and the setRowCount and none of these work

Thanks in advance

Turns out i never cleared the List...duh lol

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.