void (ActionEvent e) { final VirtualFile file = FileChooser.chooseFile(descriptor, myDirectory.getProject(), directory.getVirtualFile()); if (file != null) { myDestDirectoryField.setText(FileUtil.toSystemDependentName(file.getPath())); } }