5 Replies Latest reply on Sep 23, 2010 2:40 PM by 843807

    FileDialog: option to select both files AND directories?


      For the sake of Mac users I wish to use FileDialog for file/directory selection. I can use:

      System.setProperty(apple.awt.fileDialogForDirectories, true)

      in order to be able to select directories, but it only allows directory selection. Not setting it only allows file selection. I wish to be able to select either a file OR a directory, which I haven't found a way to do with FileDialog.

      Anyone know how?

      thanks, Allasso