Reputation: 2633
Is there any way to keep a JToolTip
visible while mouse is over the component who owns it, or the tooltip itself?
Upvotes: 0
Views: 4115
Reputation: 4715
have you try using setToolTipText() method. Here btnNext is JButton.
btnNext.setToolTipText("Next");
ToolTipManager.sharedInstance().setDismissDelay(Integer.MAX_VALUE);
Upvotes: 8