• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tooltip shows as empty gray box?  RSS feed

 
Matt Hansen
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Matt Hansen
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!