void () { if (getClassPattern().isEmpty()) { Messages.showErrorDialog(myPanel, JavaDebuggerBundle.message("class.pattern.not.specified")); return; } if (getMethodName().isEmpty()) { Messages.showErrorDialog(myPanel, JavaDebuggerBundle.message("method.name.not.specified")); return; } super.doOKAction(); }