Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / awt2swing / Frame.js
1 Clazz.declarePackage ("awt2swing");
2 Clazz.load (["javax.swing.JFrame"], "awt2swing.Frame", null, function () {
3 c$ = Clazz.declareType (awt2swing, "Frame", javax.swing.JFrame);
4 Clazz.defineMethod (c$, "remove", 
5 function (i) {
6 {
7 this.removeInt(i);
8 }}, "~N");
9 Clazz.defineMethod (c$, "setMenuBar", 
10 function (m) {
11 this.setJMenuBar (m);
12 }, "awt2swing.MenuBar");
13 Clazz.defineMethod (c$, "unsetMenuBar", 
14 function () {
15 this.setJMenuBar (null);
16 });
17 Clazz.defineMethod (c$, "getMenubar", 
18 function () {
19 return this.getJMenuBar ();
20 });
21 });