public void refreshList(T[] dataList) {
		list.setListData(dataList);
		list.clearSelection();
	}
replaces the list contents with the new list.
@param dataList the new list for the contents.
Ghidra/Framework/Docking/src/main/java/docking/widgets/list/ListPanel.java