void () { super.updateStep(); updateButtons(); final AbstractWizardStepEx step = getCurrentStepObject(); String stepTitle = step.getTitle(); setTitle(stepTitle != null ? myTitle + ": " + stepTitle : myTitle); final JComponent toFocus = step.getPreferredFocusedComponent(); if (toFocus != null) { IdeFocusManager.findInstanceByComponent(getWindow()).requestFocus(toFocus, true); } }