@Override
  public void removeNotify() {
    super.removeNotify();
    if (ComponentUtil.getParentOfType(CellRendererPane.class, this) != null) return;
    ourToolbars.remove(this);

    if (myPopup != null) {
      myPopup.cancel();
      myPopup = null;
    }

    cancelCurrentUpdate();
  }
@Override
  public void removeNotify()