private JComponent buildMemorySearchRegionsPanel() {
		JPanel panel = new JPanel(new VerticalLayout(3));
		panel.setBorder(createBorder("Search Region Filter"));

		List<SearchRegion> choices = model.getMemoryRegionChoices();
		for (SearchRegion region : choices) {
			GCheckBox checkbox = new GCheckBox(region.getName());
			checkbox.setToolTipText(region.getDescription());
			checkbox.setSelected(model.isSelectedRegion(region));
			checkbox.addItemListener(e -> model.selectRegion(region, checkbox.isSelected()));
			panel.add(checkbox);
		}
		return panel;
	}
Internal panel of the memory search window that manages the controls for the search settings.
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/MemorySearchOptionsPanel.java