JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / bin / awt2swing / Label.js
1 Clazz.declarePackage ("awt2swing");\r
2 Clazz.load (["javax.swing.JLabel"], "awt2swing.Label", null, function () {\r
3 c$ = Clazz.declareType (awt2swing, "Label", javax.swing.JLabel);\r
4 Clazz.defineMethod (c$, "setAlignment", \r
5 function (alignment) {\r
6 this.setAlignmentX (alignment);\r
7 }, "~N");\r
8 });\r