- put("maxdim", new Integer(Short.MAX_VALUE));
- put("origin", Main.origin);
- put("altKeyName", Platform.altKeyName());
- put("screenWidth", new Integer(Platform.getScreenWidth()));
- put("screenHeight", new Integer(Platform.getScreenHeight()));
- put("fileSeparator", File.separator);
- put("homeDir", System.getProperty("user.home"));
- put("tempDir", System.getProperty("java.io.tempdir"));
- put("math", org.xwt.js.JS.Math);
-
- put("newBrowserWindow", new JS.Callable() { public Object call(JS.Array args) throws JS.Exn {
+ super.put("maxdim", new Integer(Short.MAX_VALUE));
+ super.put("origin", Main.origin);
+ super.put("altKeyName", Platform.altKeyName());
+ super.put("screenWidth", new Integer(Platform.getScreenWidth()));
+ super.put("screenHeight", new Integer(Platform.getScreenHeight()));
+ super.put("fileSeparator", File.separator);
+ super.put("homeDir", System.getProperty("user.home"));
+ super.put("tempDir", System.getProperty("java.io.tempdir"));
+ super.put("math", org.xwt.js.JS.Math);
+
+ super.put("newBrowserWindow", new JS.Callable() { public Object call(JS.Array args) throws JS.Exn {