@Override
		public Component getListCellRendererComponent(JList<? extends SearchListEntry<T>> list,
				SearchListEntry<T> value, int index, boolean isSelected, boolean hasFocus) {

			JLabel label =
				(JLabel) super.getListCellRendererComponent(list, value, index, isSelected, false);
			SearchListEntry<T> entry = value;
			T t = entry.value();
			label.setText(t.toString());

			return label;
		}
Disposes the component and clears all the model data
Ghidra/Framework/Docking/src/main/java/docking/widgets/searchlist/SearchList.java