public class InstantTipper extends MouseAdapter
This works by doctoring the global ToolTipManager. It will not play nicely with any other code that is making global adjustments to tool tip management. I'd like to do it differently, but ToolTipManager itself is a singleton, which makes it difficult to handle this in a more localised way.
Singleton class.
| Modifier and Type | Method and Description |
|---|---|
static InstantTipper |
getInstance()
Returns the sole instance of this class.
|
void |
mouseEntered(MouseEvent evt) |
void |
mouseExited(MouseEvent evt) |
mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMovedpublic void mouseEntered(MouseEvent evt)
mouseEntered in interface MouseListenermouseEntered in class MouseAdapterpublic void mouseExited(MouseEvent evt)
mouseExited in interface MouseListenermouseExited in class MouseAdapterpublic static InstantTipper getInstance()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.