Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Making tooltip stay for a while.  RSS feed

 
Bhiku Mhatre
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is it possible to make a persistent tooltip (which doesn't disappear in a few seconds after the user has placed the mouse on the component that has a tooltip) ?
In other words,do we have control over the time for which the tooltip can be displayed? If yes, how?
Thanks!
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the javax.swing.ToolTipManager class... specifically the setDismissDelay( int milliseconds ) method...

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!