@Override
	protected boolean checkEditorValueValidity() {

		boolean isValidLower = hasValidValue(lowerField);
		boolean isValidUpper = hasValidValue(upperField);

		errorMessage = "";

		if (!isValidLower || !isValidUpper) {
			errorMessage = "Please enter a value for both the lower and upper bounds";
			return false;
		}

		BigInteger lowerValue = lowerField.getValue();
		BigInteger upperValue = upperField.getValue();
		if (lowerValue.compareTo(upperValue) > 0) {
			errorMessage = "Upper bound must be greater or equal to lower bound!";
			return false;
		}

		return true;

	}
Constructor.

@param constraint Integer-type constraint for which this component is an editor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/UnsignedLongRangeConstraintEditor.java