private void updateTitle() {
		StringBuilder builder = new StringBuilder();
		String searchInput = getSearchInput();
		builder.append("Search Memory: ");
		if (!searchInput.isBlank()) {
			builder.append("\"");
			builder.append(searchInput);
			builder.append("\"");
		}
		builder.append("  (");
		builder.append(getProgramName());
		builder.append(")");
		setTitle(builder.toString());
	}
ComponentProvider used to search memory and display search results.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/gui/MemorySearchProvider.java