@Override
        public void lookupCanceled(@NotNull LookupEvent event) {
          if (hint.isVisible()) {
            hint.cancel();
          }
        }
@Override
        public void lookupCanceled(@NotNull LookupEvent event)