@Override
		public void replace(FilterBypass fb, int offset, int length, String text,
			AttributeSet attrs) throws BadLocationException {
			text = text.trim();
			StringBuilder builder = getText(fb);
			builder.replace(offset, offset + length, text);
			if (isValid(builder)) {
				super.replace(fb, offset, length, text, attrs);
			}
		}
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