-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: rk38400 Date: 05/18/98
Create a subclass of JLabel to set the location of of a ToolTip to be directly over the JLabel.
Once the tip pops up move the mouse, keeping it inside the JLabel of course, and the ToolTip flash on and off.
public class JTipLabel extends JLabel
{
protected static final Point kToolTipLocation = new Point(0,3);
public JTipLabel(String labelText)
{
super(labelText);
}
public Point getToolTipLocation(MouseEvent event)
{
return kToolTipLocation;
}
}
(Review ID: 30600)
======================================================================
richard.schiavi@Eng 1998-05-21
i think i have a fix, need to ensure location check.
- duplicates
-
JDK-4266465 MediumWeight Tooltips don't work correctly
-
- Closed
-