private boolean isValid(StringBuilder builder) {
			if (builder.isEmpty()) {
				return true;
			}
			String value = builder.toString();
			if (!value.matches(FLOATING_POINT_REGEX)) {
				return false;
			}

			double d = parseDouble(value);
			if (minValue.compareTo(d) > 0) {
				return false;
			}
			if (maxValue.compareTo(d) < 0) {
				return false;
			}
			return true;
		}
Sets the minimum allowed value. The min must be 0 or negative so that continuous validation
can work.
@param min the minimum allowed value.
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/FloatingPointTextField.java