formatting
[jalview.git] / src / jalview / gui / Preferences.java
index acb9654..ca8d5a4 100755 (executable)
@@ -150,8 +150,10 @@ public class Preferences extends GPreferences
     /**
      * default min-max colours for annotation shading
      */
-    minColour.setBackground(Cache.getDefaultColour("ANNOTATIONCOLOUR_MIN", Color.orange));
-    maxColour.setBackground(Cache.getDefaultColour("ANNOTATIONCOLOUR_MAX", Color.red));
+    minColour.setBackground(Cache.getDefaultColour("ANNOTATIONCOLOUR_MIN",
+            Color.orange));
+    maxColour.setBackground(Cache.getDefaultColour("ANNOTATIONCOLOUR_MAX",
+            Color.red));
 
     String[] fonts = java.awt.GraphicsEnvironment
             .getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
@@ -189,7 +191,8 @@ public class Preferences extends GPreferences
     startupCheckbox
             .setSelected(Cache.getDefault("SHOW_STARTUP_FILE", true));
     startupFileTextfield.setText(Cache.getDefault("STARTUP_FILE",
-            Cache.getDefault("www.jalview.org","http://www.jalview.org")+"/examples/exampleFile_2_3.jar"));
+            Cache.getDefault("www.jalview.org", "http://www.jalview.org")
+                    + "/examples/exampleFile_2_3.jar"));
 
     sortby.addItem("No sort");
     sortby.addItem("Id");
@@ -339,9 +342,11 @@ public class Preferences extends GPreferences
     Cache.applicationProperties.setProperty("SORT_ALIGNMENT", sortby
             .getSelectedItem().toString());
 
-    Cache.setColourProperty("ANNOTATIONCOLOUR_MIN", minColour.getBackground());
-    Cache.setColourProperty("ANNOTATIONCOLOUR_MAX", maxColour.getBackground());
-    
+    Cache.setColourProperty("ANNOTATIONCOLOUR_MIN",
+            minColour.getBackground());
+    Cache.setColourProperty("ANNOTATIONCOLOUR_MAX",
+            maxColour.getBackground());
+
     if (epsRendering.getSelectedItem().equals("Prompt each time"))
     {
       Cache.applicationProperties.remove("EPS_RENDERING");
@@ -458,7 +463,7 @@ public class Preferences extends GPreferences
             Boolean.toString(autoIdWidth.isSelected()));
     userIdWidth_actionPerformed();
     Cache.applicationProperties.setProperty("FIGURE_USERIDWIDTH",
-                userIdWidth.getText());
+            userIdWidth.getText());
 
     Cache.applicationProperties.setProperty("AUTO_CALC_CONSENSUS",
             Boolean.toString(autoCalculateConsCheck.isSelected()));
@@ -663,6 +668,7 @@ public class Preferences extends GPreferences
   {
     return groupURLLinks;
   }
+
   public void minColour_actionPerformed()
   {
     Color col = JColorChooser.showDialog(this,