popupMenu.removeMouseListener(mouseInputListener); popupMenu.removeMouseMotionListener(mouseInputListener);
  protected void uninstallListeners()  {    popupMenu.removeMouseListener(mouseInputListener);    popupMenu.removeMouseMotionListener(mouseInputListener);    popupMenu.removePopupMenuListener(popupMenuListener);  }