private JPanel buildChooserButton() {
		JPanel panel = new JPanel(new MiddleLayout());
		JButton button = new BrowseButton();
		button.addActionListener(e -> showChooser());
		panel.add(button);
		return panel;
	}
Base class for BSimValueEditors that work on a list of possible choices
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/filters/MultiChoiceBSimValueEditor.java