@Override
	protected Component buildInlineEditorComponent() {

		JPanel panel = new JPanel(new BorderLayout());
		comboBox = new GComboBox<>(new Boolean[] { Boolean.TRUE, Boolean.FALSE });
		comboBox.setRenderer(GComboBoxCellRenderer
				.createDefaultTextRenderer(b -> StringUtils.capitalize(b.toString())));
		comboBox.addItemListener(e -> valueChanged());

		panel.add(comboBox, BorderLayout.CENTER);

		return panel;
	}
Constructor.

@param constraint Boolean constraint for which this component is an editor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/BooleanConstraintEditor.java