JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / jbgui / GPreferences.java
index 4f4afb0..b12355a 100755 (executable)
@@ -76,8 +76,8 @@ public class GPreferences extends JPanel
 {
   private static final Font LABEL_FONT = JvSwingUtils.getLabelFont();
 
-  private static final Font LABEL_FONT_ITALIC = JvSwingUtils
-          .getLabelFont(false, true);
+  private static final Font LABEL_FONT_ITALIC = JvSwingUtils.getLabelFont(
+          false, true);
 
   /*
    * Visual tab components
@@ -156,7 +156,6 @@ public class GPreferences extends JPanel
 
   protected JTextField chimeraPath = new JTextField();
 
-
   /*
    * Colours tab components
    */
@@ -276,16 +275,17 @@ public class GPreferences extends JPanel
     tabbedPane.add(initConnectionsTab(),
             MessageManager.getString("label.connections"));
 
-    tabbedPane.add(initOutputTab(), MessageManager.getString("label.output"));
+    tabbedPane.add(initOutputTab(),
+            MessageManager.getString("label.output"));
 
-    tabbedPane.add(initEditingTab(), MessageManager.getString("label.editing"));
+    tabbedPane.add(initEditingTab(),
+            MessageManager.getString("label.editing"));
 
     /*
      * See DasSourceBrowser for the real work of configuring this tab.
      */
     dasTab.setLayout(new BorderLayout());
-    tabbedPane
-            .add(dasTab, MessageManager.getString("label.das_settings"));
+    tabbedPane.add(dasTab, MessageManager.getString("label.das_settings"));
 
     /*
      * See WsPreferences for the real work of configuring this tab.
@@ -402,8 +402,9 @@ public class GPreferences extends JPanel
     autoIdWidth.setFont(LABEL_FONT);
     autoIdWidth.setText(MessageManager
             .getString("label.automatically_set_id_width"));
-    autoIdWidth
-            .setToolTipText(JvSwingUtils.wrapTooltip(true, MessageManager.getString("label.adjusts_width_generated_eps_png")));
+    autoIdWidth.setToolTipText(JvSwingUtils.wrapTooltip(true,
+            MessageManager
+                    .getString("label.adjusts_width_generated_eps_png")));
     autoIdWidth.setBounds(new Rectangle(228, 96, 188, 23));
     autoIdWidth.addActionListener(new ActionListener()
     {
@@ -418,9 +419,11 @@ public class GPreferences extends JPanel
     userIdWidthlabel.setText(MessageManager
             .getString("label.figure_id_column_width"));
     userIdWidth
-            .setToolTipText(JvSwingUtils.wrapTooltip(true, MessageManager.getString("label.manually_specify_width_left_column")));
+            .setToolTipText(JvSwingUtils.wrapTooltip(true, MessageManager
+                    .getString("label.manually_specify_width_left_column")));
     userIdWidthlabel
-            .setToolTipText(JvSwingUtils.wrapTooltip(true, MessageManager.getString("label.manually_specify_width_left_column")));
+            .setToolTipText(JvSwingUtils.wrapTooltip(true, MessageManager
+                    .getString("label.manually_specify_width_left_column")));
     userIdWidthlabel.setBounds(new Rectangle(236, 120, 168, 23));
     userIdWidth.setFont(JvSwingUtils.getTextAreaFont());
     userIdWidth.setText("");
@@ -727,8 +730,7 @@ public class GPreferences extends JPanel
     nucColourLabel.setFont(LABEL_FONT);
     nucColourLabel.setHorizontalAlignment(SwingConstants.LEFT);
     nucColourLabel.setText(MessageManager
-            .getString("label.nuc_alignment_colour")
-            + " ");
+            .getString("label.nuc_alignment_colour") + " ");
     JvSwingUtils.addtoLayout(coloursTab, MessageManager
             .getString("label.default_colour_scheme_for_alignment"),
             nucColourLabel, nucColour);
@@ -765,7 +767,8 @@ public class GPreferences extends JPanel
     int ypos = 30;
 
     structFromPdb.setFont(LABEL_FONT);
-    structFromPdb.setText(MessageManager.getString("label.struct_from_pdb"));
+    structFromPdb
+            .setText(MessageManager.getString("label.struct_from_pdb"));
     structFromPdb.setBounds(new Rectangle(5, ypos, width, height));
     structFromPdb.addActionListener(new ActionListener()
     {
@@ -865,13 +868,9 @@ public class GPreferences extends JPanel
     docFieldPref.setBounds(new Rectangle(10, ypos + 5, 450, 120));
     structureTab.add(docFieldPref);
 
-
-
-
     return structureTab;
   }
 
-
   /**
    * Action on choosing a structure viewer from combobox options.
    * 
@@ -1121,7 +1120,7 @@ public class GPreferences extends JPanel
         }
       }
     });
+
     sortby.setFont(LABEL_FONT);
     sortby.setBounds(new Rectangle(172, 260, 155, 21));
     JLabel sortLabel = new JLabel();