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, mouseWheelMoved
public void mouseEntered(MouseEvent evt)
mouseEntered
in interface MouseListener
mouseEntered
in class MouseAdapter
public void mouseExited(MouseEvent evt)
mouseExited
in interface MouseListener
mouseExited
in class MouseAdapter
public static InstantTipper getInstance()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.