void (ActionEvent ignored) { FileChooserDescriptor descriptor = getChooserDescriptor(); FileChooser.chooseFile(descriptor, myProject, null, file -> myTfPath.setText(file.getPath().replace('/', File.separatorChar))); }