mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
set focused component
This commit is contained in:
@@ -50,6 +50,11 @@ public class ValidationTest extends DialogWrapper {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public JComponent getPreferredFocusedComponent() {
|
||||
return myPanel.field2;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doOKAction() {
|
||||
super.doOKAction();
|
||||
|
||||
Reference in New Issue
Block a user