public static FileChooserDescriptor createSingleFileOrFolderDescriptor() {
    return new FileChooserDescriptor(true, true, false, false, false, false);
  }
public static FileChooserDescriptor createSingleFileOrFolderDescriptor()