A dialog for selecting a file or folder.
This tries to automatically select java.awt.FileDialog or javax.swing.JFileChooser
depending on the context. With many look-and-feels, the native (AWT) dialog provides a
better experience, for example on OS X. On the other hand, folder selection is not
officially supported by AWT, with OS X providing a tricky work-around.
The new behaviour selected JFileChooser always, when the Web Look-and-Feel is
installed, as its component UI is quite sophisticated.
A dialog for selecting a file or folder. This tries to automatically select
java.awt.FileDialog
orjavax.swing.JFileChooser
depending on the context. With many look-and-feels, the native (AWT) dialog provides a better experience, for example on OS X. On the other hand, folder selection is not officially supported by AWT, with OS X providing a tricky work-around.The new behaviour selected
JFileChooser
always, when the Web Look-and-Feel is installed, as its component UI is quite sophisticated.