Shadowkillsa
Shadowkillsa

Reputation: 77

how do i reduce the tool tip text pop up Delay?

Is it possible to make a ToolTipText pop up instantly on hover instead of having to wait the 2-3 sec delay?`

button1.setToolTipText("hi")

Upvotes: 1

Views: 441

Answers (1)

MadProgrammer
MadProgrammer

Reputation: 347194

Try using ToolTipManager#setInitialDelay(long milliseconds)

Just understand that this will effect all the tooltips in your application and AFAIK, there is no way to effect a single tooltip without implementing the entire base API yourself

Upvotes: 1

Related Questions