<AWT Dev> Possibility to add file and directory selection to FileDialog?

Paulo Levi i30817 at gmail.com
Mon Dec 26 23:29:05 PST 2011


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. :\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20111227/1f395d41/attachment.html 


More information about the awt-dev mailing list