@Override
	protected Component buildInlineEditorComponent() {

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

		LocalDate value = getConstraint().getConstraintValue();

		if (!isValidDate(value)) {
			value = LocalDate.now();
		}

		spinnerModel = new LocalDateSpinnerModel(value, minDate, maxDate, Calendar.DAY_OF_MONTH);

		dateSpinner = new DateSpinner(spinnerModel, DATE_PATTERN);

		spinnerModel.addChangeListener(e -> valueChanged());

		panel.add(dateSpinner.getSpinner());

		return panel;
	}
Constructor.

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