private void buildButtons() {
		searchButton = new JButton("Search");
		searchButton.addActionListener(ev -> doSearch());
		addButton(searchButton);
		setDefaultButton(searchButton);

		addCancelButton();
	}
A dialog to gather input for performing a search over decompiled text.
Ghidra/Features/DecompilerDependent/src/main/java/ghidra/app/plugin/core/search/DecompilerTextFinderDialog.java