1 Clazz.declarePackage ("awt2swing");
\r
2 Clazz.load (["javax.swing.JCheckBoxMenuItem"], "awt2swing.CheckboxMenuItem", null, function () {
\r
3 c$ = Clazz.declareType (awt2swing, "CheckboxMenuItem", javax.swing.JCheckBoxMenuItem);
\r
4 Clazz.makeConstructor (c$,
\r
6 Clazz.superConstructor (this, awt2swing.CheckboxMenuItem, []);
\r
8 Clazz.overrideMethod (c$, "getState",
\r
10 return this.isSelected ();
\r
12 Clazz.overrideMethod (c$, "setState",
\r
14 this.setSelected (tf);
\r