exit(hooveredPanel, panel, e);
else if(panel.isDescendantOf(hooveredPanel))
enter(panel, hooveredPanel, e);
else
{
Panel ancestor = hooveredPanel.getClosestCommonAncestor(panel);
exit(hooveredPanel, ancestor, e);
enter(panel, ancestor, e);
}
hooveredPanel = panel;
}