Control the duration of tool tips

N

Niels Dybdahl

Hi,

I am looking for a way to control the duration of tool tips in my
application.
The only documentation I can find on the internet is:
http://java.sun.com/products/jlf/at/book/Behavior5.html, which states
that I should set the "properties of my applications tool tips". But
how do I do that?
I do not have an object representing the tool tips...

Best regards
Niels Dybdahl
 
S

steve

Hi,

I am looking for a way to control the duration of tool tips in my
application.
The only documentation I can find on the internet is:
http://java.sun.com/products/jlf/at/book/Behavior5.html, which states
that I should set the "properties of my applications tool tips". But
how do I do that?
I do not have an object representing the tool tips...

Best regards
Niels Dybdahl

obviously you did not read the api correctly, complicates stuff eh what



dismissDelay = Integer.MAX_VALUE;
ToolTipManager.sharedInstance().setDismissDelay(dismissDelay);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top