1 Clazz.declarePackage ("awt2swing");
\r
2 Clazz.load (["javax.swing.JFrame"], "awt2swing.Frame", null, function () {
\r
3 c$ = Clazz.declareType (awt2swing, "Frame", javax.swing.JFrame);
\r
4 Clazz.defineMethod (c$, "remove",
\r
9 Clazz.defineMethod (c$, "setMenuBar",
\r
11 this.setJMenuBar (m);
\r
12 }, "awt2swing.MenuBar");
\r
13 Clazz.defineMethod (c$, "unsetMenuBar",
\r
15 this.setJMenuBar (null);
\r
17 Clazz.defineMethod (c$, "getMenubar",
\r
19 return this.getJMenuBar ();
\r