JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git] / site / j2s / swingjs / JSEvent.js
index 35812e3..87527e9 100644 (file)
@@ -1,4 +1,8 @@
-Clazz.declarePackage ("swingjs");\r
-Clazz.load (["java.awt.event.InvocationEvent"], "swingjs.JSEvent", null, function () {\r
-c$ = Clazz.declareType (swingjs, "JSEvent", java.awt.event.InvocationEvent);\r
-});\r
+Clazz.declarePackage ("swingjs");
+Clazz.load (["java.awt.event.InvocationEvent"], "swingjs.JSEvent", null, function () {
+c$ = Clazz.declareType (swingjs, "JSEvent", java.awt.event.InvocationEvent);
+Clazz.makeConstructor (c$, 
+function (t, r) {
+Clazz.superConstructor (this, swingjs.JSEvent, [t, 1201, r, null, false]);
+}, "swingjs.JSThread,Runnable");
+});