@Override
        protected InputMethodRequests getDelegate() {
          JTextField field = getSearchField();
          if (field == null) {
            return null;
          } else {
            return field.getInputMethodRequests();
          }
        }
@Override
        protected InputMethodRequests getDelegate()