FileChooserDescriptor (@Nullable String libraryName) { FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor(); descriptor.setTitle(JavaUiBundle.message("chooser.title.attach.external.annotations")); descriptor.setDescription(JavaUiBundle.message("chooser.description.select.directory.where.external.annotations.are.located")); return descriptor; }