Increasing the tooltip show time and initial delay time in IlvHierarchyChart

Article ID: 2278
Last updated: 29 May, 2018
Article ID: 2278
Last updated: 29 May, 2018
Revision: 3
Views: 5844
Posted: 12 Oct, 2004
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to increase the tooltip show time and initial delay time in IlvHierarchyChart?

Answer

JViews relies on the Java Tooltip API to show/hide the tooltip information.
To increase the tooltip show time and initial delay time, you will have to increase the dismiss delay and initial delay time in the javax.swing.ToolTipManager respectively. Something as the following:

javax.swing.ToolTipManager.sharedInstance().setDismissDelay(delayTimeDesired ); javax.swing.ToolTipManager.sharedInstance().setInitialDelay(initialDelayDesired );

Where delayTimeDesired is the int value of the time (in milliseconds) you want the tooltip to display and initialDelayDesired is the int value of the time (in milliseconds) you want to delay (after the cursor has paused) before displaying the tooltip.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2278
Last updated: 29 May, 2018
Revision: 3
Views: 5844
Posted: 12 Oct, 2004 by Dean J.
Updated: 29 May, 2018 by Gargani A.
Also listed in


Others in this category