git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'JAL-1517_release282' into Release_2_8_2_Branch
[jalview.git]
/
src
/
jalview
/
gui
/
JvSwingUtils.java
diff --git
a/src/jalview/gui/JvSwingUtils.java
b/src/jalview/gui/JvSwingUtils.java
index
d546584
..
e433243
100644
(file)
--- a/
src/jalview/gui/JvSwingUtils.java
+++ b/
src/jalview/gui/JvSwingUtils.java
@@
-53,14
+53,14
@@
public final class JvSwingUtils
*/
public static String wrapTooltip(boolean enclose, String ttext)
{
*/
public static String wrapTooltip(boolean enclose, String ttext)
{
-
if (ttext.length() < 60)
{
if (ttext.length() < 60)
{
- return enclose ? "<html>"+ttext+"</html>" : ttext;
+ return enclose ? "<html>" + ttext + "</html>" : ttext;
}
else
{
}
else
{
- return (enclose ? "<html>" : "") + "<table width=350 border=0><tr><td>" + ttext
+ return (enclose ? "<html>" : "")
+ + "<table width=350 border=0><tr><td>" + ttext
+ "</td></tr></table>" + ((enclose ? "</html>" : ""));
}
}
+ "</td></tr></table>" + ((enclose ? "</html>" : ""));
}
}