mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correct focus in groovy introduce constant dialog
This commit is contained in:
+4
-1
@@ -106,8 +106,11 @@ public class GrIntroduceConstantDialog extends DialogWrapper
|
||||
myTypeCombo.setEnabled(mySpecifyType.isSelected());
|
||||
updateVisibilityPanel();
|
||||
updateOkStatus();
|
||||
}
|
||||
|
||||
myNameComboBox.requestFocus();
|
||||
@Override
|
||||
public JComponent getPreferredFocusedComponent() {
|
||||
return myNameComboBox;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user