private JComponent buildButtonPanel() {
		JPanel panel = new JPanel(new FlowLayout());
		ButtonGroup buttonGroup = new ButtonGroup();
		for (Scanner scanner : Scanner.values()) {
			GRadioButton button = new GRadioButton(scanner.getName());
			buttonGroup.add(button);
			panel.add(button);
			button.setSelected(scanner == selectedScanner);
			button.addActionListener(e -> selectedScanner = scanner);
			button.setToolTipText(scanner.getDescription());
		}
		return panel;
	}
Internal panel of the memory search window that manages the controls for the scan feature. This
panel can be added or removed via a toolbar action. Not showing by default.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/gui/MemoryScanControlPanel.java