private void buildSearchButton() {

		beginSearchButton = new JButton("Search");
		beginSearchButton.setMnemonic('B');
		beginSearchButton.addActionListener(ev -> searchCallback());
		beginSearchButton.getAccessibleContext().setAccessibleName("Begin Search");
		this.addButton(beginSearchButton);
	}
Dialog allowing the user to set parameters when initiating a scalar search on a program.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/scalartable/ScalarSearchDialog.java