@Override
	public JComponent getComponent() {
		if (field == null) {
			field = new IntegerTextField(20);
			field.setAllowsHexPrefix(false);
			field.setShowNumberMode(false);
			if (displayAsHex) {
				field.setHexMode();
				field.setShowNumberMode(true);
			}
		}
		return field.getComponent();
	}
Constructs an IntValue with a default value.
@param name the name of the value
@param defaultValue the default value
@param displayAsHex if true, the value will be displayed as hex, otherwise it will display
as decimal.
Ghidra/Framework/Docking/src/main/java/docking/widgets/values/IntValue.java