public void setValue (String name, float value)
    {
        Float oldValue = null;
        if (_prefs.get(name, null) != null || _props.getProperty(name) != null) {
            oldValue = Float.valueOf(_prefs.getFloat(name, super.getValue(name, 0f)));
        }

        _prefs.putFloat(name, value);
        _propsup.firePropertyChange(name, oldValue, Float.valueOf(value));
    }
public void setValue ( String name , float value ) { Float oldValue = null ; if ( _prefs . get ( name , null ) != null || _props . getProperty ( name ) != null ) { oldValue = Float . valueOf ( _prefs . getFloat ( name , super . getValue ( name , 0f ) ) ) ; } _prefs . putFloat ( name , value ) ; _propsup . firePropertyChange ( name , oldValue , Float . valueOf ( value ) ) ; }
Sets the value of the specified preference, overriding the value defined in the
configuration files shipped with the application.