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