private void notifyUser(String message) {
		setStatus(message);

		// -don't allow searching again while notifying
		// -make sure the user can see it
		enableButtons(false);
		alertMessage(() -> {
			String text = comboBox.getText();
			enableButtons(text.length() != 0);
		});
	}
A dialog used to perform text searches on a text display.
Ghidra/Framework/Docking/src/main/java/docking/widgets/FindDialog.java