public void setAllowsHexPrefix(boolean allowsHexPrefix) {
		BigInteger currentValue = getValue();
		this.allowsHexPrefix = allowsHexPrefix;
		updateTextField(currentValue);
	}
Sets whether on not the field supports the 0x prefix.

<P>
If 0x is supported, hex numbers will be displayed with the 0x prefix. Also, when typing, you
must type 0x first to enter a hex number, otherwise it will only allow digits 0-9. If the 0x
prefix option is turned off, then hex numbers are displayed without the 0x prefix and you
can't change the decimal/hex mode by typing 0x. The field will either be in decimal or hex
mode and the typed text will be interpreted appropriately for the mode.

@param allowsHexPrefix true to use the 0x convention for hex.
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/IntegerTextField.java