| | | | Browse by category |
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.