Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / awt2swing / Choice.js
index a4208b1..0eb2843 100644 (file)
@@ -1,8 +1,8 @@
-Clazz.declarePackage ("awt2swing");\r
-Clazz.load (["javax.swing.JComboBox"], "awt2swing.Choice", null, function () {\r
-c$ = Clazz.declareType (awt2swing, "Choice", javax.swing.JComboBox);\r
-Clazz.defineMethod (c$, "select", \r
-function (key) {\r
-this.setSelectedItem (key);\r
-}, "~O");\r
-});\r
+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");
+});