Show ToolTip always
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Pary_Alavi
Posted On:   Wednesday, December 25, 2002 03:30 AM

I have made a button that every time it clikced, a tooltip text is shown, now I want the the tooltip text remain on window untill mouse moved.

Re: Show ToolTip always

Posted By:   Anonymous  
Posted On:   Saturday, January 4, 2003 07:13 PM

Try using ToolTipManager object:


i.e



ToolTipManager tm= ToolTipManager.sharedInstance();
tm.registerComponent(button); // your button
tm.setDismissDelay(Integer.MAX_VALUE);
tm.setReshowDelay(0);
tm.setInitialDelay(0);
About | Sitemap | Contact