From 83866eaabbbcb744a8c2076091bf67a3f961c2ff Mon Sep 17 00:00:00 2001 From: hansonr Date: Tue, 9 Jul 2019 16:19:43 +0100 Subject: [PATCH] Jal-3357 ISSUE JAL-3253-applet tooltip for PHOSPHORYLATION missing --- src/jalview/gui/JvSwingUtils.java | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/jalview/gui/JvSwingUtils.java b/src/jalview/gui/JvSwingUtils.java index d44080a..a582133 100644 --- a/src/jalview/gui/JvSwingUtils.java +++ b/src/jalview/gui/JvSwingUtils.java @@ -61,7 +61,8 @@ public final class JvSwingUtils * style class specifying word-wrap and break-word * * @param enclose - * if true, add <html> wrapper tags + * if true, add <html> wrapper tags (currently false for only + * two references -- both in Jws2Discoverer -- * @param ttext * * @return @@ -95,20 +96,14 @@ public final class JvSwingUtils return enclose ? "" + ttext + "" : ttext; } - return (enclose ? "" : "") + return (enclose ? "
" - // BH 2018 + // BH 2018,2019 + "
" - -// + "

" - + ttext - - + "

" -// + "

" - + ((enclose ? "" : "")); + + "
" + + "" : ttext); } -- 1.7.10.2