void (boolean requestFocus) { adjustEditorsVisibility(); myToolbarWrapper.refresh(); myComponent.repaint(); if (!requestFocus) return; final JComponent focusComponent = getPreferredFocusedComponent(); if (focusComponent != null) { IdeFocusManager.findInstanceByComponent(focusComponent).requestFocus(focusComponent, true); } }