From: hansonr Date: Tue, 9 Jul 2019 15:19:43 +0000 (+0100) Subject: Jal-3357 ISSUE JAL-3253-applet tooltip for PHOSPHORYLATION missing X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=83866eaabbbcb744a8c2076091bf67a3f961c2ff;p=jalview.git Jal-3357 ISSUE JAL-3253-applet tooltip for PHOSPHORYLATION missing --- 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); }