Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / awt2swing / Menu.js
1 Clazz.declarePackage ("awt2swing");
2 Clazz.load (["javax.swing.JMenu"], "awt2swing.Menu", null, function () {
3 c$ = Clazz.declareType (awt2swing, "Menu", javax.swing.JMenu);
4 Clazz.makeConstructor (c$, 
5 function (title) {
6 Clazz.superConstructor (this, awt2swing.Menu, [title]);
7 title = null;
8 }, "~S");
9 Clazz.makeConstructor (c$, 
10 function () {
11 Clazz.superConstructor (this, awt2swing.Menu);
12 var s = null;
13 });
14 });