public int getInteger(String key) {
        Integer i = (Integer) get(key);
        if (i == null) {
            return 0;
        }

        return i.intValue();
    }
Get an integer from the settings.
<p>
If the key is not set, then 0 is returned.

@param key the key of an integer setting
@return the corresponding value, or 0 if not set
jme3-core/src/main/java/com/jme3/system/AppSettings.java