From: tcofoegbu Date: Mon, 24 Aug 2015 08:36:56 +0000 (+0100) Subject: JAL-1834 removed quotes around truncated strings with ellipsis X-Git-Tag: Release_2_10_0~522 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=31a33833640b743a506f7801388b17f96e915ef3;p=jalview.git JAL-1834 removed quotes around truncated strings with ellipsis --- diff --git a/src/jalview/jbgui/GPDBSearchPanel.java b/src/jalview/jbgui/GPDBSearchPanel.java index 5a73b7c..f133a61 100644 --- a/src/jalview/jbgui/GPDBSearchPanel.java +++ b/src/jalview/jbgui/GPDBSearchPanel.java @@ -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;