Merge branch 'develop' into features/JAL-1705_ensembl
[jalview.git] / src / jalview / gui / FontChooser.java
index 2ffb166..535196e 100755 (executable)
  */
 package jalview.gui;
 
+import jalview.bin.Cache;
+import jalview.jbgui.GFontChooser;
+import jalview.util.MessageManager;
+
 import java.awt.Font;
 import java.awt.FontMetrics;
 import java.awt.event.ActionEvent;
@@ -29,10 +33,6 @@ import javax.swing.JInternalFrame;
 import javax.swing.JLayeredPane;
 import javax.swing.JOptionPane;
 
-import jalview.bin.Cache;
-import jalview.jbgui.GFontChooser;
-import jalview.util.MessageManager;
-
 /**
  * DOCUMENT ME!
  * 
@@ -249,11 +249,10 @@ public class FontChooser extends GFontChooser
     {
       final String messageKey = iBounds.getHeight() < 1 ? "label.font_doesnt_have_letters_defined"
               : "label.font_too_small";
-      JOptionPane
-              .showInternalMessageDialog(
-                      this,
+      JOptionPane.showInternalMessageDialog(this,
               MessageManager.getString(messageKey),
-                      MessageManager.getString("label.invalid_font"), JOptionPane.WARNING_MESSAGE);
+              MessageManager.getString("label.invalid_font"),
+              JOptionPane.WARNING_MESSAGE);
       /*
        * Restore the changed value - note this will reinvoke this method via the
        * ActionListener, but now validation should pass