private static Integer parseInteger( String value, int min, int max, boolean allowPercentage )
		throws IllegalArgumentException, NumberFormatException
	{
		if( allowPercentage && value.endsWith( "%" ) ) {
			int percent = parsePercentage( value );
			return (max * percent) / 100;
		}

		Integer integer = parseInteger( value );
		if( integer < min || integer > max )
			throw new NumberFormatException( "integer '" + value + "' out of range (" + min + '-' + max + ')' );
		return integer;
	}
Syntax: [normal] [bold|+bold|-bold] [italic|+italic|-italic] [<size>|+<incr>|-<decr>|<percent>%] [family[, family]] [$baseFontKey]
flatlaf-core/src/main/java/com/formdev/flatlaf/UIDefaultsLoader.java