int tabIndex = tabForCoordinate(tabPane, ev.getX(), ev.getY());
Object s = e.getSource();     if (tabPane != e.getSource()) { redispatchEvent(e); e.setSource(s); }  int tabIndex = tabForCoordinate(tabPane, e.getX(), e.getY());
    public void mouseEntered(MouseEvent ev)    {      int tabIndex = tabForCoordinate(tabPane, ev.getX(), ev.getY());      setRolloverTab(tabIndex);    }