1 Clazz.declarePackage ("swingjs.api");
2 c$ = Clazz.declareType (swingjs.api, "Interface");
3 c$.getInstance = Clazz.defineMethod (c$, "getInstance",
4 function (name, isQuiet) {
7 Clazz._isQuiet = isQuiet;
8 }System.out.println ("swingjs.api.Interface creating instance of " + name);
9 var x = Clazz._4Name (name);
11 Clazz._isQuiet = false;
12 }return (x == null ? null : x.newInstance ());
14 if (Clazz.exceptionOf (e, Exception)) {
15 System.out.println ("Interface.java Error creating instance for " + name + ": \n" + e);