*/
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
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);
}
combo.setToolTipText(tooltips.get(j));
}
}
+
@Override
public void mouseExited(MouseEvent e)
{