void () { InsertPathAction.addTo(myPathToCertificatesField, FileChooserDescriptorFactory.createSingleFileNoJarsDescriptor()); myClientCertificatePathField.addBrowseFolderListener( message("dialog.edit.http.proxies.settings.dialog.select.ssl.client.certificate.path.title"), null, null, new FileChooserDescriptor(true, false, false, false, false, false) ); }