currentTip.setTipText(((JComponent) currentComponent).getToolTipText(event));
{ if (currentComponent == null) currentComponent = (Component) event.getSource();  String text = ((JComponent) currentComponent).getToolTipText(event); currentTip.setTipText(text); }
  public void mouseMoved(MouseEvent event)  {    currentPoint = event.getPoint();    if (currentTip != null)      currentTip.setTipText(((JComponent) currentComponent).getToolTipText(event));    if (enterTimer.isRunning())      enterTimer.restart();  }