@Override
        public void invokePopup(Component comp, int x, int y) {
          if (myManager.isEmpty()) return;
          showPopup(x, y);
        }
@Override
        public void invokePopup(Component comp, int x, int y)