public void setSelectedItem(T t) {
		ListModel<SearchListEntry<T>> listModel = jList.getModel();
		for (int i = 0; i < listModel.getSize(); i++) {
			SearchListEntry<T> entry = listModel.getElementAt(i);
			if (entry.value().equals(t)) {
				jList.setSelectedIndex(i);
				return;
			}
		}
	}
Gets the currently selected item.
@return the currently selected item.
Ghidra/Framework/Docking/src/main/java/docking/widgets/searchlist/SearchList.java