private void buildButtons() {
		nextButton = new JButton("Next");
		nextButton.setMnemonic('N');
		nextButton.getAccessibleContext().setAccessibleName("Next");
		nextButton.addActionListener(ev -> doSearch(true));
		addButton(nextButton);
		setDefaultButton(nextButton);

		previousButton = new JButton("Previous");
		previousButton.setMnemonic('P');
		previousButton.getAccessibleContext().setAccessibleName("Previous");
		previousButton.addActionListener(ev -> doSearch(false));
		addButton(previousButton);

		addDismissButton();
	}
A dialog used to perform text searches on a text display.
Ghidra/Framework/Docking/src/main/java/docking/widgets/FindDialog.java