if (e.isPopupTrigger()) displayAgentTreeMenu(e);
if (e.isPopupTrigger()) displayNodeTreeMenu(e);
      public void mousePressed(MouseEvent e) {        if (e.isPopupTrigger()) displayAgentTreeMenu(e);      }