JAL-3066 Create labels for fields and hack it to work with multiple valued parameters
[jalview.git] / src / jalview / gui / OptsAndParamsPage.java
index d66ec1c..046eb81 100644 (file)
@@ -137,7 +137,7 @@ public class OptsAndParamsPage
     {
       option = opt;
       setLayout(new FlowLayout(FlowLayout.LEFT));
-      enabled = new JCheckBox(opt.getName());
+      enabled = new JCheckBox(opt.getLabel());
       enabled.setSelected(opt.isRequired());
 
       /*
@@ -147,7 +147,7 @@ public class OptsAndParamsPage
       if (opt.isRequired() && !(opt instanceof JabaOption))
       {
         finfo = null;
-        add(new JLabel(opt.getName()));
+        add(new JLabel(opt.getLabel()));
       }
       else
       {