-// Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
+// Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
package org.xwt;
import java.io.*;
return null;
}});
+ super.put("load", new JS.Callable() { public Object call(JS.Array args) throws JS.Exn {
+ return Res.stringToResource(args.elementAt(0).toString());
+ }});
+
super.put("theme", new JS.Callable() { public Object call(JS.Array args) throws JS.Exn {
if (args.length() != 2) return null;
if (args.elementAt(0) == null || args.elementAt(1) == null) return null;