void () { mySchemesPanel.clearInfo(); myLayout.first(myRootPanel); myNameEditData = null; final IdeFocusManager focusManager = IdeFocusManager.getGlobalInstance(); focusManager.doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(myRootPanel, true)); }