This discussion is archived
5 Replies Latest reply: Sep 23, 2010 7:40 AM by 843807 RSS

FileDialog: option to select both files AND directories?

843807 Newbie
Currently Being Moderated
Hi,

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