private void refreshList(JCheckBox[] dataList) {
		eventList.setListData(dataList);
		eventList.clearSelection();
	}
replaces the list contents with the new list.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ToolConnectionPanel.java