private String computeTextForValue(BigInteger value) {
		if (value == null) {
			return "";
		}
		if (isHexMode) {
			String text = value.toString(16);
			if (allowsHexPrefix) {
				if (text.startsWith("-")) {
					return "-0x" + text.substring(1);
				}
				return "0x" + text;
			}
			return text;
		}

		// otherwise, show as decimal
		return value.toString(10);
	}
Sets the horizontal alignment of the JTextField

@param alignment the alignment as in {@link JTextField#setHorizontalAlignment(int)}
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/IntegerTextField.java