Mike,
I don't know what the original posters rationale for using the JFileChooser
is, but for me, I need to use the JFileChooser for the reason you have
mentioned:
- support for embedding swing components into the file chooser using method
setAccessory(),
- support for javax.swing.filechooser.FileFilter in a platform-independent
way (FileDialog.setFilenameFilter does not work on Windows).
In my previous post, I expressed my personal opinion that Apple's File is
not ready for "real use".
It would help many developers, if Apple's FileChooserUI would match the
native file dialog better than it does currently.
To make it useable for "real use" (at least for me), Apple should implement
a javax.swing.filechooser.FileSystemView, that matches the view that the
Finder provides on the file system. Currently the FileSystemView provides a
Unix-ish view to the file system, which is not what a regular user of Mac OS
X is used to work with.
With the current FileSystemVuew, users have trouble opening files that are
not located on the System volume, because they don't know that they need to
look in the directory /Volumes to find other volumes.
With kind regards,
Werner
On 23.05.06 21:24 Uhr, "Mike Swingler" at <email@hidden> wrote:
> The FileDialog is designed to be a straight pass-though to the native
> operating system's Open/Save dialog, whereas the JFileChooser is implemented
> in pure Swing, allowing it to be embedded in other Swing components.
> [...]
> Generally we steer folks towards the FileDialog, even in Swing applications,
> assuming they want something as close to the native platform's look as
> possible. Is there additional functionality you use with JFileChoosers that
> you notice missing with the FileDialog?
>
> Thanks,
> Mike Swingler
> Java Frameworks Engineer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden