Making Tool Tips Remain Visible
By default, a tool tip stays visible for 4 seconds. This example
demonstrates how to keep the tool tip showing as long
as the cursor is in the component.
// Get current delay
int dismissDelay = ToolTipManager.sharedInstance().getDismissDelay();
// Keep the tool tip showing
dismissDelay = Integer.MAX_VALUE;
ToolTipManager.sharedInstance().setDismissDelay(dismissDelay);
Post a comment