Hi Paulo,

The native FileDialog on MS Windows doesn't support choosing both files and directories simultaneously (at least on Windows XP and earlier.) Thus we can't provide this functionality as a platform-independent feature at this time.

Please use JFileChooser for this purpose.

--
best regards,
Anthony

On 12/27/2011 11:29 AM, Paulo Levi wrote:
JFileChooser has it's well known limitations. So i was overjoyed in finding out that java 7 filedialog in GTK was using the native widget like macosx.

Well, long story short is that my app has to choose both files and directories. Directories are used to "mass import", and files to singly import.

Not having the ability to add files impedes using FileDialog. What's the story behind that limitation of "Only Files" and could it be reconsidered? I doubt java even installs on the windows version where that was a requirement to use the native file chooser.




Please don't tell me to use JFileChooser. :\

Reply via email to