@Override
    public void actionPerformed(ActionEvent e) {
      if (myCurrentPopup != null) {
        myAutopopup = false;
        hideCurrentPopup();
      }
    }
@Override
    public void actionPerformed(ActionEvent e)