Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / javax / swing / UIDefaults.js
index 40b2db3..3ea6d1b 100644 (file)
-Clazz.declarePackage ("javax.swing");\r
-Clazz.load (["java.util.Hashtable", "java.util.Locale"], "javax.swing.UIDefaults", ["java.lang.Boolean", "$.Error", "java.util.HashMap", "$.Vector", "java.awt.Color", "$.Dimension", "$.Font", "$.Insets", "javax.swing.Icon", "$.SwingUtilities", "javax.swing.border.Border", "javax.swing.event.SwingPropertyChangeSupport", "swingjs.JSToolkit"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.changeSupport = null;\r
-this.resourceBundles = null;\r
-this.defaultLocale = null;\r
-this.resourceCache = null;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing, "UIDefaults", java.util.Hashtable);\r
-Clazz.prepareFields (c$, function () {\r
-this.defaultLocale = java.util.Locale.getDefault ();\r
-});\r
-Clazz.makeConstructor (c$, \r
-function () {\r
-this.construct (700, .75);\r
-});\r
-Clazz.makeConstructor (c$, \r
-function (initialCapacity, loadFactor) {\r
-Clazz.superConstructor (this, javax.swing.UIDefaults, [initialCapacity, loadFactor]);\r
-this.resourceCache =  new java.util.HashMap ();\r
-}, "~N,~N");\r
-Clazz.makeConstructor (c$, \r
-function (keyValueList) {\r
-Clazz.superConstructor (this, javax.swing.UIDefaults, [Clazz.doubleToInt (keyValueList.length / 2)]);\r
-for (var i = 0; i < keyValueList.length; i += 2) {\r
-Clazz.superCall (this, javax.swing.UIDefaults, "put", [keyValueList[i], keyValueList[i + 1]]);\r
-}\r
-}, "~A");\r
-Clazz.defineMethod (c$, "get", \r
-function (key) {\r
-var value = this.getFromHashtable (key);\r
-return (value != null) ? value : this.getFromResourceBundle (key, null);\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getFromHashtable", \r
- function (key) {\r
-var value = Clazz.superCall (this, javax.swing.UIDefaults, "get", [key]);\r
-if (value == null && (Clazz.instanceOf (key, String))) {\r
-var skey = key;\r
-if (skey.endsWith (".font") || skey.endsWith (".background") || skey.endsWith (".foreground")) value = Clazz.superCall (this, javax.swing.UIDefaults, "get", ["*" + skey.substring (skey.lastIndexOf ("."))]);\r
-}if ((value !== javax.swing.UIDefaults.PENDING) && !(Clazz.instanceOf (value, javax.swing.UIDefaults.ActiveValue)) && !(Clazz.instanceOf (value, javax.swing.UIDefaults.LazyValue))) {\r
-return value;\r
-}if (!(Clazz.instanceOf (value, javax.swing.UIDefaults.ActiveValue))) {\r
-return value;\r
-}if (Clazz.instanceOf (value, javax.swing.UIDefaults.LazyValue)) {\r
-try {\r
-value = (value).createValue (this);\r
-} finally {\r
-if (value == null) {\r
-Clazz.superCall (this, javax.swing.UIDefaults, "remove", [key]);\r
-} else {\r
-Clazz.superCall (this, javax.swing.UIDefaults, "put", [key, value]);\r
-}}\r
-} else {\r
-value = (value).createValue (this);\r
-}return value;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "get", \r
-function (key, l) {\r
-var value = this.getFromHashtable (key);\r
-return (value != null) ? value : this.getFromResourceBundle (key, l);\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getFromResourceBundle", \r
- function (key, l) {\r
-if (this.resourceBundles == null || this.resourceBundles.isEmpty () || !(Clazz.instanceOf (key, String))) {\r
-return null;\r
-}if (l == null) {\r
-if (this.defaultLocale == null) return null;\r
- else l = this.defaultLocale;\r
-}{\r
-return this.getResourceCache (l).get (key);\r
-}}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getResourceCache", \r
- function (l) {\r
-return null;\r
-}, "java.util.Locale");\r
-Clazz.defineMethod (c$, "put", \r
-function (key, value) {\r
-var oldValue = (value == null) ? Clazz.superCall (this, javax.swing.UIDefaults, "remove", [key]) : Clazz.superCall (this, javax.swing.UIDefaults, "put", [key, value]);\r
-if (Clazz.instanceOf (key, String)) {\r
-this.firePropertyChange (key, oldValue, value);\r
-}return oldValue;\r
-}, "~O,~O");\r
-Clazz.defineMethod (c$, "putDefaults", \r
-function (keyValueList) {\r
-for (var i = 0, max = keyValueList.length; i < max; i += 2) {\r
-var value = keyValueList[i + 1];\r
-if (value == null) {\r
-Clazz.superCall (this, javax.swing.UIDefaults, "remove", [keyValueList[i]]);\r
-} else {\r
-Clazz.superCall (this, javax.swing.UIDefaults, "put", [keyValueList[i], value]);\r
-}}\r
-this.firePropertyChange ("UIDefaults", null, null);\r
-}, "~A");\r
-Clazz.defineMethod (c$, "getFont", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, java.awt.Font)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getFont", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, java.awt.Font)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getColor", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, java.awt.Color)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getColor", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, java.awt.Color)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getIcon", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, javax.swing.Icon)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getIcon", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, javax.swing.Icon)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getBorder", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, javax.swing.border.Border)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getBorder", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, javax.swing.border.Border)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getString", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, String)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getString", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, String)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getInt", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, Integer)) ? (value).intValue () : 0;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getInt", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, Integer)) ? (value).intValue () : 0;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getBoolean", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, Boolean)) ? (value).booleanValue () : false;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getBoolean", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, Boolean)) ? (value).booleanValue () : false;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getInsets", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, java.awt.Insets)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getInsets", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, java.awt.Insets)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getDimension", \r
-function (key) {\r
-var value = this.get (key);\r
-return (Clazz.instanceOf (value, java.awt.Dimension)) ? value : null;\r
-}, "~O");\r
-Clazz.defineMethod (c$, "getDimension", \r
-function (key, l) {\r
-var value = this.get (key, l);\r
-return (Clazz.instanceOf (value, java.awt.Dimension)) ? value : null;\r
-}, "~O,java.util.Locale");\r
-Clazz.defineMethod (c$, "getUIClass", \r
-function (uiClassID, uiClassLoader) {\r
-try {\r
-var className = this.get (uiClassID);\r
-if (className != null) {\r
-var cls = this.get (className);\r
-if (cls == null) {\r
-if (uiClassLoader == null) {\r
-cls = javax.swing.SwingUtilities.loadSystemClass (className);\r
-} else {\r
-cls = uiClassLoader.loadClass (className);\r
-}if (cls != null) {\r
-this.put (className, cls);\r
-}}return cls;\r
-}} catch (e$$) {\r
-if (Clazz.exceptionOf (e$$, ClassNotFoundException)) {\r
-var e = e$$;\r
-{\r
-return null;\r
-}\r
-} else if (Clazz.exceptionOf (e$$, ClassCastException)) {\r
-var e = e$$;\r
-{\r
-return null;\r
-}\r
-} else {\r
-throw e$$;\r
-}\r
-}\r
-return null;\r
-}, "~S,ClassLoader");\r
-Clazz.defineMethod (c$, "getUIClass", \r
-function (uiClassID) {\r
-return this.getUIClass (uiClassID, null);\r
-}, "~S");\r
-Clazz.defineMethod (c$, "getUIError", \r
-function (msg) {\r
-System.err.println ("UIDefaults.getUI() failed: " + msg);\r
-try {\r
-throw  new Error ();\r
-} catch (e) {\r
-e.printStackTrace ();\r
-}\r
-}, "~S");\r
-Clazz.defineMethod (c$, "getUI", \r
-function (target) {\r
-return swingjs.JSToolkit.getComponentUI (target);\r
-}, "javax.swing.JComponent");\r
-Clazz.defineMethod (c$, "addPropertyChangeListener", \r
-function (listener) {\r
-if (this.changeSupport == null) {\r
-this.changeSupport =  new javax.swing.event.SwingPropertyChangeSupport (this);\r
-}this.changeSupport.addPropertyChangeListener (listener);\r
-}, "java.beans.PropertyChangeListener");\r
-Clazz.defineMethod (c$, "removePropertyChangeListener", \r
-function (listener) {\r
-if (this.changeSupport != null) {\r
-this.changeSupport.removePropertyChangeListener (listener);\r
-}}, "java.beans.PropertyChangeListener");\r
-Clazz.defineMethod (c$, "getPropertyChangeListeners", \r
-function () {\r
-if (this.changeSupport == null) {\r
-return  new Array (0);\r
-}return this.changeSupport.getPropertyChangeListeners ();\r
-});\r
-Clazz.defineMethod (c$, "firePropertyChange", \r
-function (propertyName, oldValue, newValue) {\r
-if (this.changeSupport != null) {\r
-this.changeSupport.firePropertyChange (propertyName, oldValue, newValue);\r
-}}, "~S,~O,~O");\r
-Clazz.defineMethod (c$, "addResourceBundle", \r
-function (bundleName) {\r
-if (bundleName == null) {\r
-return;\r
-}if (this.resourceBundles == null) {\r
-this.resourceBundles =  new java.util.Vector (5);\r
-}if (!this.resourceBundles.contains (bundleName)) {\r
-this.resourceBundles.add (bundleName);\r
-this.resourceCache.clear ();\r
-}}, "~S");\r
-Clazz.defineMethod (c$, "removeResourceBundle", \r
-function (bundleName) {\r
-if (this.resourceBundles != null) {\r
-this.resourceBundles.remove (bundleName);\r
-}this.resourceCache.clear ();\r
-}, "~S");\r
-Clazz.defineMethod (c$, "setDefaultLocale", \r
-function (l) {\r
-this.defaultLocale = l;\r
-}, "java.util.Locale");\r
-Clazz.defineMethod (c$, "getDefaultLocale", \r
-function () {\r
-return this.defaultLocale;\r
-});\r
-Clazz.declareInterface (javax.swing.UIDefaults, "LazyValue");\r
-Clazz.declareInterface (javax.swing.UIDefaults, "ActiveValue");\r
-c$.PENDING = c$.prototype.PENDING =  String.instantialize ("Pending");\r
-});\r
+Clazz.declarePackage ("javax.swing");
+Clazz.load (["java.util.Hashtable", "java.util.Locale"], "javax.swing.UIDefaults", ["java.lang.Boolean", "$.Error", "java.util.HashMap", "$.Vector", "java.awt.Color", "$.Dimension", "$.Font", "$.Insets", "javax.swing.Icon", "$.SwingUtilities", "javax.swing.border.Border", "javax.swing.event.SwingPropertyChangeSupport", "swingjs.JSToolkit"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.changeSupport = null;
+this.resourceBundles = null;
+this.defaultLocale = null;
+this.resourceCache = null;
+Clazz.instantialize (this, arguments);
+}, javax.swing, "UIDefaults", java.util.Hashtable);
+Clazz.prepareFields (c$, function () {
+this.defaultLocale = java.util.Locale.getDefault ();
+});
+Clazz.makeConstructor (c$, 
+function () {
+this.construct (700, .75);
+});
+Clazz.makeConstructor (c$, 
+function (initialCapacity, loadFactor) {
+Clazz.superConstructor (this, javax.swing.UIDefaults, [initialCapacity, loadFactor]);
+this.resourceCache =  new java.util.HashMap ();
+}, "~N,~N");
+Clazz.makeConstructor (c$, 
+function (keyValueList) {
+Clazz.superConstructor (this, javax.swing.UIDefaults, [Clazz.doubleToInt (keyValueList.length / 2)]);
+for (var i = 0; i < keyValueList.length; i += 2) {
+Clazz.superCall (this, javax.swing.UIDefaults, "put", [keyValueList[i], keyValueList[i + 1]]);
+}
+}, "~A");
+Clazz.defineMethod (c$, "get", 
+function (key) {
+var value = this.getFromHashtable (key);
+return (value != null) ? value : this.getFromResourceBundle (key, null);
+}, "~O");
+Clazz.defineMethod (c$, "getFromHashtable", 
+ function (key) {
+var value = Clazz.superCall (this, javax.swing.UIDefaults, "get", [key]);
+if (value == null && (Clazz.instanceOf (key, String))) {
+var skey = key;
+if (skey.endsWith (".font") || skey.endsWith (".background") || skey.endsWith (".foreground")) value = Clazz.superCall (this, javax.swing.UIDefaults, "get", ["*" + skey.substring (skey.lastIndexOf ("."))]);
+}if ((value !== javax.swing.UIDefaults.PENDING) && !(Clazz.instanceOf (value, javax.swing.UIDefaults.ActiveValue)) && !(Clazz.instanceOf (value, javax.swing.UIDefaults.LazyValue))) {
+return value;
+}if (!(Clazz.instanceOf (value, javax.swing.UIDefaults.ActiveValue))) {
+return value;
+}if (Clazz.instanceOf (value, javax.swing.UIDefaults.LazyValue)) {
+try {
+value = (value).createValue (this);
+} finally {
+if (value == null) {
+Clazz.superCall (this, javax.swing.UIDefaults, "remove", [key]);
+} else {
+Clazz.superCall (this, javax.swing.UIDefaults, "put", [key, value]);
+}}
+} else {
+value = (value).createValue (this);
+}return value;
+}, "~O");
+Clazz.defineMethod (c$, "get", 
+function (key, l) {
+var value = this.getFromHashtable (key);
+return (value != null) ? value : this.getFromResourceBundle (key, l);
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getFromResourceBundle", 
+ function (key, l) {
+if (this.resourceBundles == null || this.resourceBundles.isEmpty () || !(Clazz.instanceOf (key, String))) {
+return null;
+}if (l == null) {
+if (this.defaultLocale == null) return null;
+ else l = this.defaultLocale;
+}{
+return this.getResourceCache (l).get (key);
+}}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getResourceCache", 
+ function (l) {
+return null;
+}, "java.util.Locale");
+Clazz.defineMethod (c$, "put", 
+function (key, value) {
+var oldValue = (value == null) ? Clazz.superCall (this, javax.swing.UIDefaults, "remove", [key]) : Clazz.superCall (this, javax.swing.UIDefaults, "put", [key, value]);
+if (Clazz.instanceOf (key, String)) {
+this.firePropertyChange (key, oldValue, value);
+}return oldValue;
+}, "~O,~O");
+Clazz.defineMethod (c$, "putDefaults", 
+function (keyValueList) {
+for (var i = 0, max = keyValueList.length; i < max; i += 2) {
+var value = keyValueList[i + 1];
+if (value == null) {
+Clazz.superCall (this, javax.swing.UIDefaults, "remove", [keyValueList[i]]);
+} else {
+Clazz.superCall (this, javax.swing.UIDefaults, "put", [keyValueList[i], value]);
+}}
+this.firePropertyChange ("UIDefaults", null, null);
+}, "~A");
+Clazz.defineMethod (c$, "getFont", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, java.awt.Font)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getFont", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, java.awt.Font)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getColor", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, java.awt.Color)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getColor", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, java.awt.Color)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getIcon", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, javax.swing.Icon)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getIcon", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, javax.swing.Icon)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getBorder", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, javax.swing.border.Border)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getBorder", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, javax.swing.border.Border)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getString", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, String)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getString", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, String)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getInt", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, Integer)) ? (value).intValue () : 0;
+}, "~O");
+Clazz.defineMethod (c$, "getInt", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, Integer)) ? (value).intValue () : 0;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getBoolean", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, Boolean)) ? (value).booleanValue () : false;
+}, "~O");
+Clazz.defineMethod (c$, "getBoolean", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, Boolean)) ? (value).booleanValue () : false;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getInsets", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, java.awt.Insets)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getInsets", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, java.awt.Insets)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getDimension", 
+function (key) {
+var value = this.get (key);
+return (Clazz.instanceOf (value, java.awt.Dimension)) ? value : null;
+}, "~O");
+Clazz.defineMethod (c$, "getDimension", 
+function (key, l) {
+var value = this.get (key, l);
+return (Clazz.instanceOf (value, java.awt.Dimension)) ? value : null;
+}, "~O,java.util.Locale");
+Clazz.defineMethod (c$, "getUIClass", 
+function (uiClassID, uiClassLoader) {
+try {
+var className = this.get (uiClassID);
+if (className != null) {
+var cls = this.get (className);
+if (cls == null) {
+if (uiClassLoader == null) {
+cls = javax.swing.SwingUtilities.loadSystemClass (className);
+} else {
+cls = uiClassLoader.loadClass (className);
+}if (cls != null) {
+this.put (className, cls);
+}}return cls;
+}} catch (e$$) {
+if (Clazz.exceptionOf (e$$, ClassNotFoundException)) {
+var e = e$$;
+{
+return null;
+}
+} else if (Clazz.exceptionOf (e$$, ClassCastException)) {
+var e = e$$;
+{
+return null;
+}
+} else {
+throw e$$;
+}
+}
+return null;
+}, "~S,ClassLoader");
+Clazz.defineMethod (c$, "getUIClass", 
+function (uiClassID) {
+return this.getUIClass (uiClassID, null);
+}, "~S");
+Clazz.defineMethod (c$, "getUIError", 
+function (msg) {
+System.err.println ("UIDefaults.getUI() failed: " + msg);
+try {
+throw  new Error ();
+} catch (e) {
+e.printStackTrace ();
+}
+}, "~S");
+Clazz.defineMethod (c$, "getUI", 
+function (target) {
+return swingjs.JSToolkit.getComponentUI (target);
+}, "javax.swing.JComponent");
+Clazz.defineMethod (c$, "addPropertyChangeListener", 
+function (listener) {
+if (this.changeSupport == null) {
+this.changeSupport =  new javax.swing.event.SwingPropertyChangeSupport (this);
+}this.changeSupport.addPropertyChangeListener (listener);
+}, "java.beans.PropertyChangeListener");
+Clazz.defineMethod (c$, "removePropertyChangeListener", 
+function (listener) {
+if (this.changeSupport != null) {
+this.changeSupport.removePropertyChangeListener (listener);
+}}, "java.beans.PropertyChangeListener");
+Clazz.defineMethod (c$, "getPropertyChangeListeners", 
+function () {
+if (this.changeSupport == null) {
+return  new Array (0);
+}return this.changeSupport.getPropertyChangeListeners ();
+});
+Clazz.defineMethod (c$, "firePropertyChange", 
+function (propertyName, oldValue, newValue) {
+if (this.changeSupport != null) {
+this.changeSupport.firePropertyChange (propertyName, oldValue, newValue);
+}}, "~S,~O,~O");
+Clazz.defineMethod (c$, "addResourceBundle", 
+function (bundleName) {
+if (bundleName == null) {
+return;
+}if (this.resourceBundles == null) {
+this.resourceBundles =  new java.util.Vector (5);
+}if (!this.resourceBundles.contains (bundleName)) {
+this.resourceBundles.add (bundleName);
+this.resourceCache.clear ();
+}}, "~S");
+Clazz.defineMethod (c$, "removeResourceBundle", 
+function (bundleName) {
+if (this.resourceBundles != null) {
+this.resourceBundles.remove (bundleName);
+}this.resourceCache.clear ();
+}, "~S");
+Clazz.defineMethod (c$, "setDefaultLocale", 
+function (l) {
+this.defaultLocale = l;
+}, "java.util.Locale");
+Clazz.defineMethod (c$, "getDefaultLocale", 
+function () {
+return this.defaultLocale;
+});
+Clazz.declareInterface (javax.swing.UIDefaults, "LazyValue");
+Clazz.declareInterface (javax.swing.UIDefaults, "ActiveValue");
+c$.PENDING = c$.prototype.PENDING =  String.instantialize ("Pending");
+});