void (ActionEvent e) { myValueEditor.setEnabled(myUseValueRadioButton.isSelected()); if (myUseValueRadioButton.isSelected()) { myValueEditor.selectAll(); IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(myValueEditor, true)); } }