if (currentTip == null || ! currentTip.isVisible() || ! enabled) return; currentTip.setVisible(false); if (containerPanel != null) { Container parent = containerPanel.getParent(); if (parent == null) return; parent.remove(containerPanel);  parent = currentTip.getParent(); if (parent == null) return; parent.remove(currentTip); containerPanel = null; } if (tooltipWindow != null) { tooltipWindow.hide(); tooltipWindow.dispose(); tooltipWindow = null; } currentTip = null;
if (popup != null) popup.hide();
  void hideTip()  {    if (currentTip == null || ! currentTip.isVisible() || ! enabled)      return;    currentTip.setVisible(false);    if (containerPanel != null)      {	Container parent = containerPanel.getParent();	if (parent == null)	  return;	parent.remove(containerPanel);	parent = currentTip.getParent();	if (parent == null)	  return;	parent.remove(currentTip);	containerPanel = null;      }    if (tooltipWindow != null)      {	tooltipWindow.hide();	tooltipWindow.dispose();	tooltipWindow = null;      }    currentTip = null;  }