JAL-1627 bug fix to remove wierd space in Sequence Features/Sequence Group tooltip...
[jalview.git] / src / jalview / gui / JvSwingUtils.java
index a0bc7c9..e4cbf61 100644 (file)
@@ -59,6 +59,7 @@ public final class JvSwingUtils
    */
   public static String wrapTooltip(boolean enclose, String ttext)
   {
+    ttext = ttext.trim();
     if (ttext.length() < 60)
     {
       return enclose ? "<html>" + ttext + "</html>" : ttext;