JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / gui / TextColourChooser.java
index c8a4a08..6bac6df 100644 (file)
@@ -78,8 +78,11 @@ public class TextColourChooser
     JPanel panel = new JPanel();
     bigpanel.add(panel, BorderLayout.CENTER);
     bigpanel.add(
-            new JLabel("<html>"+MessageManager.getString("label.select_dark_light_set_thereshold")+"</html>"),
-            BorderLayout.NORTH);
+            new JLabel(
+                    "<html>"
+                            + MessageManager
+                                    .getString("label.select_dark_light_set_thereshold")
+                            + "</html>"), BorderLayout.NORTH);
     panel.add(col1);
     panel.add(slider);
     panel.add(col2);
@@ -89,7 +92,8 @@ public class TextColourChooser
       public void mousePressed(MouseEvent e)
       {
         Color col = JColorChooser.showDialog(bigpanel,
-                MessageManager.getString("label.select_colour_for_text"), col1.getBackground());
+                MessageManager.getString("label.select_colour_for_text"),
+                col1.getBackground());
         if (col != null)
         {
           colour1Changed(col);
@@ -103,7 +107,8 @@ public class TextColourChooser
       public void mousePressed(MouseEvent e)
       {
         Color col = JColorChooser.showDialog(bigpanel,
-                       MessageManager.getString("label.select_colour_for_text"), col2.getBackground());
+                MessageManager.getString("label.select_colour_for_text"),
+                col2.getBackground());
         if (col != null)
         {
           colour2Changed(col);
@@ -120,10 +125,14 @@ public class TextColourChooser
       }
     });
 
-    int reply = JOptionPane.showInternalOptionDialog(ap, bigpanel,
-            MessageManager.getString("label.adjunst_foreground_text_colour_thereshold"),
-            JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE,
-            null, null, null);
+    int reply = JOptionPane
+            .showInternalOptionDialog(
+                    ap,
+                    bigpanel,
+                    MessageManager
+                            .getString("label.adjunst_foreground_text_colour_thereshold"),
+                    JOptionPane.OK_CANCEL_OPTION,
+                    JOptionPane.QUESTION_MESSAGE, null, null, null);
 
     if (reply == JOptionPane.CANCEL_OPTION)
     {