}
return (enclose ? "<html>" : "")
- // BH 2018
+ // BH 2018
+ "<style> div.ttip {width:350px;white-space:pre-wrap;padding:2px;overflow-wrap:break-word;}</style><div class=\"ttip\">"
-// + "<style> p.ttip {width:350px;margin:-14px 0px -14px 0px;padding:2px;overflow-wrap:break-word;}"
-// + "</style><p class=\"ttip\">"
- + ttext
- + " </div>"
-// + "</p>"
+ // + "<style> p.ttip {width:350px;margin:-14px 0px -14px
+ // 0px;padding:2px;overflow-wrap:break-word;}"
+ // + "</style><p class=\"ttip\">"
+ + ttext + " </div>"
+ // + "</p>"
+ ((enclose ? "</html>" : ""));
}
combo.setToolTipText(tooltips.get(j));
}
}
+
@Override
public void mouseExited(MouseEvent e)
{