private int restoreDividerLocation(String prefix, int fallback) {
		int result = fallback;
		final String sizestr = preferences.get(prefnzPrefix+prefix + "." + PREF_DIVIDER_LOCATION, null);
		if (sizestr != null) {
			int location = 0;
			try {
				location = Integer.parseInt(sizestr.trim());
			} catch (final Exception e) {
				// ignoring, cause is prevented by default values;
			}
			if (location > 0 ) {
				result = location;
				if (logger.isDebugEnabled()) logger.debug("Restoring preference " + prefnzPrefix+prefix + "." + PREF_DIVIDER_LOCATION + "=" + location);
			}
		}
		return result;
	}
private int restoreDividerLocation ( String prefix , int fallback ) { int result = fallback ; final String sizestr = preferences . get ( prefnzPrefix + prefix + "." + PREF_DIVIDER_LOCATION , null ) ; if ( sizestr != null ) { int location = 0 ; try { location = Integer . parseInt ( sizestr . trim ( ) ) ; } catch ( final Exception e ) { } if ( location > 0 ) { result = location ; if ( logger . isDebugEnabled ( ) ) logger . debug ( "Restoring preference " + prefnzPrefix + prefix + "." + PREF_DIVIDER_LOCATION + "=" + location ) ; } } return result ; }
@param prefix
@param fallback
@return the size of the frame OR fallback value, if there wasn't any preference.