private JComponent buildComponent() {
		JPanel panel = new JPanel(new BorderLayout());
		textField = createTextField();
		panel.add(textField, BorderLayout.CENTER);
		panel.add(buildChooserButton(), BorderLayout.EAST);
		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