public final class ToolTipUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
balloonToToolTip(BalloonTip bT,
int initialDelay,
int showDelay)
Turns a balloon tip into a tooltip
This is done by adding a mouse listener to the attached component.
|
static void |
toolTipToBalloon(BalloonTip bT)
Turns a balloon tooltip back into a regular balloon tip
|
public static void balloonToToolTip(BalloonTip bT, int initialDelay, int showDelay)
bT
- the balloon tipinitialDelay
- in milliseconds, how long should you hover over the attached component before showing the tooltipshowDelay
- in milliseconds, how long should the tooltip stay visiblepublic static void toolTipToBalloon(BalloonTip bT)
bT
- the balloon tip