public final class TimingUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
showTimedBalloon(BalloonTip balloon,
int time)
Displays a balloon tip for a certain time, then close it.
|
static void |
showTimedBalloon(BalloonTip balloon,
int time,
ActionListener onTimeout)
Displays a balloon tip for a certain time
|
public static void showTimedBalloon(BalloonTip balloon, int time)
balloon
- the BalloonTiptime
- show the balloon for this amount of millisecondspublic static void showTimedBalloon(BalloonTip balloon, int time, ActionListener onTimeout)
balloon
- the BalloonTiptime
- show the balloon for this amount of millisecondsonTimeout
- this action is taken when time runs out