I implemented a tooltip by extending the BasicToolTipUI and overriding the paint method. Most of the time this works fine and I have multiple lines on my tooltip. But, sometimes when the tooltip appears centered (i.e. the mouse is in the middle of the tooltip) it shows up as an empty gray box.
[This message has been edited by Matt Hansen (edited October 04, 2001).]
posted 15 years ago
Okay, the problem is not in the paint method. The problem is that the paint method never gets called. I'm confused because sometimes it works but sometimes it doesn't. Any suggestions?