public void chooseItem() {
		SearchListEntry<T> selectedValue = jList.getSelectedValue();
		if (selectedValue != null) {
			chosenItemCallback.accept(selectedValue.value(), selectedValue.category());
		}
	}
Disposes the component and clears all the model data
Ghidra/Framework/Docking/src/main/java/docking/widgets/searchlist/SearchList.java