tooltip open time

how to set the length of time the tooltip is opened?
[66 byte] By [aulo] at [2007-9-26 1:40:04]
# 1

Hi,

take a look at javax.swing.ToolTipManager. There you can use the methods setInitialDelay(), setDismissDelay() and setReshowDelay() to customize the behaviour of the tooltip.

The tooltip is shown till the mouse moves plus the DismissDelay. But it does not disappear after a defined time.

Hope that helps,

Alex

Alexander Gadenz at 2007-6-29 2:30:01 > top of Java-index,Archived Forums,Swing...