JAL-3253 miscellaneous tidying up before merge to JS-develop
[jalview.git] / src / jalview / gui / JvSwingUtils.java
index 7dd8e6c..fc2ecde 100644 (file)
@@ -56,8 +56,7 @@ import javax.swing.border.TitledBorder;
  */
 public final class JvSwingUtils
 {
-  public static final String HTML_PREFIX = "<html><div style=\"width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;\">";
-
+  static final String HTML_PREFIX = "<html><div style=\"width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;\">";
 
   /**
    * wrap a bare html safe string to around 60 characters per line using a CSS
@@ -110,11 +109,7 @@ public final class JvSwingUtils
       return enclose ? "<html>" + ttext + "</html>" : ttext;
     }
     // BH 2018,2019
-    return (enclose
-            ? HTML_PREFIX
-            + ttext
-                    + "</div></html>"
-            : ttext);
+    return (enclose ? HTML_PREFIX + ttext + "</div></html>" : ttext);
 
   }
 
@@ -358,6 +353,7 @@ public final class JvSwingUtils
           combo.setToolTipText(tooltips.get(j));
         }
       }
+
       @Override
       public void mouseExited(MouseEvent e)
       {