private void initializeDefaultValue(BigInteger initial) {
		if (initial == null) {
			return;
		}

		// Adjust the initial value if it is not valid
		BigInteger value = initial;
		if (initial.compareTo(min) < 0) {
			value = min;
		}
		else if (initial.compareTo(max) > 0) {
			value = max;
		}
		numberInputField.setValue(value);
	}
Get the current input value as an int
@return the value
@throws NumberFormatException if entered value cannot be parsed
@throws IllegalStateException if the dialog was cancelled
@throws ArithmeticException if the value in this field will not fit into an int
Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/AbstractNumberInputDialog.java