git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db8d34
)
JAL-1833 revised implementation
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Thu, 20 Aug 2015 12:58:10 +0000
(13:58 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Thu, 20 Aug 2015 12:58:10 +0000
(13:58 +0100)
src/jalview/gui/JvSwingUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/JvSwingUtils.java
b/src/jalview/gui/JvSwingUtils.java
index
a9d0e75
..
c4ed0dc
100644
(file)
--- a/
src/jalview/gui/JvSwingUtils.java
+++ b/
src/jalview/gui/JvSwingUtils.java
@@
-87,9
+87,9
@@
public final class JvSwingUtils
}
else
{
- return enclose ? "<html><style> p.ttip {width: 350; text-align: justify; word-wrap: break-word;}</style><p class=\"ttip\">"
- + ttext + "</p></html>"
- : ttext;
+ return (enclose ? "<html>" : "")
+ + "<style> p.ttip {width: 350; text-align: justify; word-wrap: break-word;}</style><p class=\"ttip\">"
+ + ttext + "</p>" + ((enclose ? "</html>" : ""));
}
}