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
JAL-3253 miscellaneous tidying up before merge to JS-develop
[jalview.git]
/
src
/
jalview
/
gui
/
JvSwingUtils.java
diff --git
a/src/jalview/gui/JvSwingUtils.java
b/src/jalview/gui/JvSwingUtils.java
index
7dd8e6c
..
fc2ecde
100644
(file)
--- a/
src/jalview/gui/JvSwingUtils.java
+++ b/
src/jalview/gui/JvSwingUtils.java
@@
-56,8
+56,7
@@
import javax.swing.border.TitledBorder;
*/
public final class JvSwingUtils
{
*/
public final class JvSwingUtils
{
- public static final String HTML_PREFIX = "<html><div style=\"width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;\">";
-
+ static final String HTML_PREFIX = "<html><div style=\"width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;\">";
/**
* wrap a bare html safe string to around 60 characters per line using a CSS
/**
* wrap a bare html safe string to around 60 characters per line using a CSS
@@
-110,11
+109,7
@@
public final class JvSwingUtils
return enclose ? "<html>" + ttext + "</html>" : ttext;
}
// BH 2018,2019
return enclose ? "<html>" + ttext + "</html>" : ttext;
}
// BH 2018,2019
- return (enclose
- ? HTML_PREFIX
- + ttext
- + "</div></html>"
- : ttext);
+ return (enclose ? HTML_PREFIX + ttext + "</div></html>" : ttext);
}
}
@@
-358,6
+353,7
@@
public final class JvSwingUtils
combo.setToolTipText(tooltips.get(j));
}
}
combo.setToolTipText(tooltips.get(j));
}
}
+
@Override
public void mouseExited(MouseEvent e)
{
@Override
public void mouseExited(MouseEvent e)
{