private ListResourceBundle loadResourceBundle(String resourceBundle) throws MissingResourceException {
  m_resourceBundleName=resourceBundle;
  Locale locale=getLocale();
  ListResourceBundle lrb;
  try {
    ResourceBundle rb=ResourceBundle.getBundle(m_resourceBundleName,locale);
    lrb=(ListResourceBundle)rb;
  }
 catch (  MissingResourceException e) {
    try {
      lrb=(ListResourceBundle)ResourceBundle.getBundle(m_resourceBundleName,new Locale("en","US"));
    }
 catch (    MissingResourceException e2) {
      throw new MissingResourceException("Could not load any resource bundles." + m_resourceBundleName,m_resourceBundleName,"");
    }
  }
  m_resourceBundle=lrb;
  return lrb;
}

private ListResourceBundle loadResourceBundle ( String resourceBundle ) throws MissingResourceException { m_resourceBundleName = resourceBundle ; Locale locale = getLocale ( ) ; ListResourceBundle lrb ; try { ResourceBundle rb = ResourceBundle . getBundle ( m_resourceBundleName , locale ) ; lrb = ( ListResourceBundle ) rb ; } catch ( MissingResourceException e ) { try { lrb = ( ListResourceBundle ) ResourceBundle . getBundle ( m_resourceBundleName , new Locale ( "en" , "US" ) ) ; } catch ( MissingResourceException e2 ) { throw new MissingResourceException ( "Could not load any resource bundles." + m_resourceBundleName , m_resourceBundleName , "" ) ; } } m_resourceBundle = lrb ; return lrb ; }
return a named resourcebundle for a particular locale . this method mimics the behavior of resourcebundle . getbundle ( ) .
