@Override
	protected void updateInfoMessage(boolean isValid) {
		if (isValid) {
			Number start = (Number) lowerSpinner.getValue();
			Number end = (Number) upperSpinner.getValue();

			double dblStart = start.doubleValue();
			double dblEnd = end.doubleValue();

			double delta = dblEnd - dblStart + 1;

			String message = String.format("Range size: %s", infoLabelNumberFormat.format(delta));
			infoLabel.setText(formatStatus(message, false));
		}
		else {
			infoLabel.setText(formatStatus(getErrorMessage(), true));
		}
	}
Constructor.

@param constraint Floating-point constraint for which this component is an editor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/DoubleRangeConstraintEditor.java