Example #1
0
 /** Initialize ResourceBundle */
 static {
   try {
     rsrc = ResourceBundle.getBundle("sun.tools.jar.resources.jar");
   } catch (MissingResourceException e) {
     throw new Error("Fatal: Resource for jar is missing");
   }
 }
Example #2
0
 public static ResourceBundle getResources() {
   if (_resources == null) {
     _resources = ResourceBundle.getBundle("jnlp/sample/jardiff/resources/strings");
   }
   return _resources;
 }