void (FocusEvent e) { if (!isStickySearch()) return; String text = ClientProperty.get(myComponent, SEARCH_TEXT_KEY); if (Strings.isEmpty(text)) { return; } ApplicationManager.getApplication().invokeLater(() -> { if (myComponent.hasFocus()) { manageSearchPopup(createPopup(text)); // keep selection } }); }