X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fawt2swing%2FFrame.js;h=a4e228b844aa3ce5d8e695d975582d2da826b121;hp=027d871d0b6c33da9a25eee990fd67b3aeea14f6;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/awt2swing/Frame.js b/site/j2s/awt2swing/Frame.js index 027d871..a4e228b 100644 --- a/site/j2s/awt2swing/Frame.js +++ b/site/j2s/awt2swing/Frame.js @@ -1,21 +1,21 @@ -Clazz.declarePackage ("awt2swing"); -Clazz.load (["javax.swing.JFrame"], "awt2swing.Frame", null, function () { -c$ = Clazz.declareType (awt2swing, "Frame", javax.swing.JFrame); -Clazz.defineMethod (c$, "remove", -function (i) { -{ -this.removeInt(i); -}}, "~N"); -Clazz.defineMethod (c$, "setMenuBar", -function (m) { -this.setJMenuBar (m); -}, "awt2swing.MenuBar"); -Clazz.defineMethod (c$, "unsetMenuBar", -function () { -this.setJMenuBar (null); -}); -Clazz.defineMethod (c$, "getMenubar", -function () { -return this.getJMenuBar (); -}); -}); +Clazz.declarePackage ("awt2swing"); +Clazz.load (["javax.swing.JFrame"], "awt2swing.Frame", null, function () { +c$ = Clazz.declareType (awt2swing, "Frame", javax.swing.JFrame); +Clazz.defineMethod (c$, "remove", +function (i) { +{ +this.removeInt(i); +}}, "~N"); +Clazz.defineMethod (c$, "setMenuBar", +function (m) { +this.setJMenuBar (m); +}, "awt2swing.MenuBar"); +Clazz.defineMethod (c$, "unsetMenuBar", +function () { +this.setJMenuBar (null); +}); +Clazz.defineMethod (c$, "getMenubar", +function () { +return this.getJMenuBar (); +}); +});