protected void addResource(List defaults,String bundleName){
  ResourceBundle bundle=ResourceBundle.getBundle(bundleName);
  for (Enumeration keys=bundle.getKeys(); keys.hasMoreElements(); ) {
    String key=(String)keys.nextElement();
    defaults.add(key);
    defaults.add(bundle.getObject(key));
  }
}

protected void addResource ( List defaults , String bundleName ) { ResourceBundle bundle = ResourceBundle . getBundle ( bundleName ) ; for ( Enumeration keys = bundle . getKeys ( ) ; keys . hasMoreElements ( ) ; ) { String key = ( String ) keys . nextElement ( ) ; defaults . add ( key ) ; defaults . add ( bundle . getObject ( key ) ) ; } }
adds the all keys / values from the given named resource bundle to the defaults
