public boolean store(){
  try {
    prefs.sync();
    return true;
  }
 catch (  BackingStoreException ex) {
    LOGGER.log(Level.SEVERE,"Error saving preferences",ex);
  }
  return false;
}

public boolean store ( ) { try { prefs . sync ( ) ; return true ; } catch ( BackingStoreException ex ) { LOGGER . log ( Level . SEVERE , "Error saving preferences" , ex ) ; } return false ; }
persistently stores preferences values . this method is called automatically , typically you don ' t need to call it explicitely .
