IDEA-168089 New outline for text field components with invalid values

This commit is contained in:
Kirill Kirichenko
2017-02-14 12:34:38 +03:00
parent 0a397a6891
commit 5b8276e820
45 changed files with 235 additions and 145 deletions
@@ -54,7 +54,7 @@ public class EditSdkDialog extends DialogWrapper {
@Override
protected void textChanged(DocumentEvent e) {
String nameError = nameValidator.fun(getName());
setErrorText(nameError);
setErrorText(nameError, myNameTextField);
setOKActionEnabled(nameError == null);
}
});