JAL-1834 removed quotes around truncated strings with ellipsis
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 24 Aug 2015 08:36:56 +0000 (09:36 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Mon, 24 Aug 2015 08:36:56 +0000 (09:36 +0100)
src/jalview/jbgui/GPDBSearchPanel.java

index 5a73b7c..f133a61 100644 (file)
@@ -95,8 +95,9 @@ public abstract class GPDBSearchPanel extends JPanel
       }
       toolTipText = (toolTipText == null ? null
               : (toolTipText.length() > 500 ? JvSwingUtils.wrapTooltip(
-                      true, "\"" + toolTipText.subSequence(0, 500)
-                              + "...\"") : JvSwingUtils.wrapTooltip(true,
+                      true, toolTipText.subSequence(0, 500)
+ + "...")
+                      : JvSwingUtils.wrapTooltip(true,
                       toolTipText)));
 
       return toolTipText;