private void saveIntegerSettings(){
  for (  String settingName : longSettings.keySet()) {
    LongSetting setting=longSettings.get(settingName);
    Long value=setting.getSettingValue();
    if (value != null) {
      if (settings.setLong(settingName,setting.getSettingValue()) == Setting.CHANGED) {
        changed(settingName);
      }
    }
 else {
      LOGGER.warning("Invalid number format for setting " + settingName);
    }
  }
}

private void saveIntegerSettings ( ) { for ( String settingName : longSettings . keySet ( ) ) { LongSetting setting = longSettings . get ( settingName ) ; Long value = setting . getSettingValue ( ) ; if ( value != null ) { if ( settings . setLong ( settingName , setting . getSettingValue ( ) ) == Setting . CHANGED ) { changed ( settingName ) ; } } else { LOGGER . warning ( "Invalid number format for setting " + settingName ) ; } } }
saves all settings of type integer . parses the string of the jtextfields into an integer and only saves if it succeeds
