@Override
		public void keyTyped(KeyEvent e) {
			if (e.getKeyChar() == '\n') {
				chooseItem();

			}
			int keyCode = e.getKeyChar();
			if (keyCode == KeyEvent.VK_ENTER) {
				chooseItem();
			}

			KeyboardFocusManager.getCurrentKeyboardFocusManager().redispatchEvent(textField, e);
			textField.requestFocus();
		}
Disposes the component and clears all the model data
Ghidra/Framework/Docking/src/main/java/docking/widgets/searchlist/SearchList.java