Hi,
I want to change the time value for a tooltip is displayed in the chart. I saw in the forum one solution ToolTipManager.sharedInstance().setDismissDelay(1000 * 100);, but i don't know what is the class ToolTipManager
Anyone can say me where is this class?
tooltip timeout
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It is part of the Swing framework, not JFreeChart.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


I think it is desirable to be able to let JFreeChart use its own ToolTipManager since one may wish that tooltips in the chart area appear faster or stay longer than the other/normal tooltips (for buttons...). So I propose setter/getter methods for the ToolTipManager; the default ToolTipManager may be ToolTipManager.sharedInstance() - this is just an idea, i haven't tested if it would really work this way.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Sounds reasonable...I'll put it on my to-do list to test it. If you try it out yourself, let me know if it works.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Sorry for this silly proposalMatthias wrote:...setter/getter methods for the ToolTipManager...

To apologize i submitted a patch which works differently (toggles the tooltip delay values if the mouse enters or exits the chart panel) under
http://sourceforge.net/tracker/index.ph ... tid=315494
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
This patch has been committed to CVS and will be incorporated in the 0.9.17 release.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

