private boolean checkInput() {
		BigInteger value = numberInputField.getValue();
		if (value.compareTo(min) >= 0 && value.compareTo(max) <= 0) {
			if (defaultMessage != null) {
				setStatusText(defaultMessage);
			}
			return true;
		}

		setStatusText("Value must be between " + min + " and " + max);
		return false;
	}
Check the entry;

@return boolean true if input is OK
Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/AbstractNumberInputDialog.java