popupMenu.addMouseListener(mouseInputListener); popupMenu.addMouseMotionListener(mouseInputListener);
  protected void installListeners()  {    popupMenu.addMouseListener(mouseInputListener);    popupMenu.addMouseMotionListener(mouseInputListener);    popupMenu.addPopupMenuListener(popupMenuListener);  }