aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Tooltip shows as empty gray box? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Tooltip shows as empty gray box?" Watch "Tooltip shows as empty gray box?" New topic
Author

Tooltip shows as empty gray box?

Matt Hansen
Ranch Hand

Joined: Jul 31, 2001
Posts: 34
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

Joined: Jul 31, 2001
Posts: 34
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?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tooltip shows as empty gray box?
 
Similar Threads
"Show Tooltip Description", "Press 'F2' for focus." in Eclipse
Tool Tips
Gray box Testing
how to get applet work in browser
sometimes it runs. and sometimes it does not.