boolean (Project project) { return new DialogWrapper(project) { { init(); setTitle(ResourceBundleEditorBundle.message("incomplete.property.locales.to.ignore.dialog.title")); } @Override protected JComponent createCenterPanel() { return buildPanel(); } }.showAndGet(); }