@Override
	protected Component buildInlineEditorComponent() {

		JPanel panel = new JPanel(new BorderLayout());

		T constraintValue = getConstraint().getConstraintValue();
		long value = constraintValue.longValue();
		long minValue = getMinValue();
		long maxValue = getMaxValue();
		Number stepSize = Long.valueOf(1);

		spinnerModel = new BoundedSpinnerNumberModel(value, minValue, maxValue, stepSize);

		spinner = new IntegerSpinner(spinnerModel);
		spinner.getTextField().setShowNumberMode(true);
		IntegerTextField textField = spinner.getTextField();
		textField.addChangeListener(e -> valueChanged());
		spinnerModel.addChangeListener(e -> valueChanged());

		panel.add(spinner.getSpinner(), BorderLayout.CENTER);
		statusLabel = new GDHtmlLabel();
		panel.add(statusLabel, BorderLayout.SOUTH);
		statusLabel.setForeground(Messages.ERROR);
		statusLabel.setHorizontalAlignment(SwingConstants.CENTER);

		return panel;
	}
Constructor.

@param constraint Integer-type constraint for which this component is an editor.
@param converter Utility class to convert integer types to Long-type for internal operation.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/IntegerConstraintEditor.java