JAL-2418 source formatting
[jalview.git] / src / jalview / gui / FeatureColourChooser.java
index 4172819..396df04 100644 (file)
@@ -117,8 +117,9 @@ public class FeatureColourChooser extends JalviewDialog
     this.fr = frender;
     this.type = theType;
     ap = fr.ap;
-    String title = MessageManager.formatMessage(
-            "label.graduated_color_for_params", new String[] { theType });
+    String title = MessageManager
+            .formatMessage("label.graduated_color_for_params", new String[]
+            { theType });
     initDialogFrame(this, true, blocking, title, 480, 185);
 
     slider.addChangeListener(new ChangeListener()
@@ -205,7 +206,8 @@ public class FeatureColourChooser extends JalviewDialog
       slider.setEnabled(true);
       slider.setValue((int) (cs.getThreshold() * scaleFactor));
       thresholdValue.setEnabled(true);
-      threshline = new GraphLine((max - min) / 2f, "Threshold", Color.black);
+      threshline = new GraphLine((max - min) / 2f, "Threshold",
+              Color.black);
       threshline.value = cs.getThreshold();
     }
 
@@ -292,14 +294,14 @@ public class FeatureColourChooser extends JalviewDialog
     slider.setEnabled(false);
     slider.setOpaque(false);
     slider.setPreferredSize(new Dimension(100, 32));
-    slider.setToolTipText(MessageManager
-            .getString("label.adjust_threshold"));
+    slider.setToolTipText(
+            MessageManager.getString("label.adjust_threshold"));
     thresholdValue.setEnabled(false);
     thresholdValue.setColumns(7);
     jPanel3.setBackground(Color.white);
     thresholdIsMin.setBackground(Color.white);
-    thresholdIsMin.setText(MessageManager
-            .getString("label.threshold_minmax"));
+    thresholdIsMin
+            .setText(MessageManager.getString("label.threshold_minmax"));
     thresholdIsMin.setToolTipText(MessageManager
             .getString("label.toggle_absolute_relative_display_threshold"));
     thresholdIsMin.addActionListener(new ActionListener()
@@ -313,9 +315,8 @@ public class FeatureColourChooser extends JalviewDialog
     colourByLabel.setBackground(Color.white);
     colourByLabel
             .setText(MessageManager.getString("label.colour_by_label"));
-    colourByLabel
-            .setToolTipText(MessageManager
-                    .getString("label.display_features_same_type_different_label_using_different_colour"));
+    colourByLabel.setToolTipText(MessageManager.getString(
+            "label.display_features_same_type_different_label_using_different_colour"));
     colourByLabel.addActionListener(new ActionListener()
     {
       @Override
@@ -433,7 +434,8 @@ public class FeatureColourChooser extends JalviewDialog
       /*
        * todo not yet implemented: visual indication of feature threshold
        */
-      threshline = new GraphLine((max - min) / 2f, "Threshold", Color.black);
+      threshline = new GraphLine((max - min) / 2f, "Threshold",
+              Color.black);
     }
 
     if (hasThreshold)
@@ -596,8 +598,8 @@ public class FeatureColourChooser extends JalviewDialog
   {
     if (colourEditor != null)
     {
-      System.err
-              .println("IMPLEMENTATION ISSUE: overwriting action listener for FeatureColourChooser");
+      System.err.println(
+              "IMPLEMENTATION ISSUE: overwriting action listener for FeatureColourChooser");
     }
     colourEditor = graduatedColorEditor;
   }