1 Clazz.declarePackage ("awt2swing");
2 Clazz.load (["javax.swing.JComboBox"], "awt2swing.Choice", null, function () {
3 c$ = Clazz.declareType (awt2swing, "Choice", javax.swing.JComboBox);
4 Clazz.defineMethod (c$, "select",
6 this.setSelectedItem (key);