X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=bin%2Fawt2swing%2FChoice.js;h=0eb2843a737b890fb4ca1cb1a7d656fed0513d76;hp=a4208b1170c031f0bacdcdc17ba2691bcccbab29;hb=8ffd05b3abe52c0b6b79b011c0966361f82d5fe6;hpb=6154cb57a6eac3bb1344b8342495f5bb701ee921 diff --git a/bin/awt2swing/Choice.js b/bin/awt2swing/Choice.js index a4208b1..0eb2843 100644 --- a/bin/awt2swing/Choice.js +++ b/bin/awt2swing/Choice.js @@ -1,8 +1,8 @@ -Clazz.declarePackage ("awt2swing"); -Clazz.load (["javax.swing.JComboBox"], "awt2swing.Choice", null, function () { -c$ = Clazz.declareType (awt2swing, "Choice", javax.swing.JComboBox); -Clazz.defineMethod (c$, "select", -function (key) { -this.setSelectedItem (key); -}, "~O"); -}); +Clazz.declarePackage ("awt2swing"); +Clazz.load (["javax.swing.JComboBox"], "awt2swing.Choice", null, function () { +c$ = Clazz.declareType (awt2swing, "Choice", javax.swing.JComboBox); +Clazz.defineMethod (c$, "select", +function (key) { +this.setSelectedItem (key); +}, "~O"); +});