Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FileDialog vs JFileChooser



On 23.05.06 20:04 Uhr, "Paul Archibald" at <email@hidden> wrote:
> Our app is currently using JFileChooser(s) for save and open dialogs. However,
> it used to have a FileDialog for certain situations (save as on the Mac only).
> That looked better than the JFileChooser on the Macintosh, as it was more
> Aqua(tic? ish?), having the standard system file chooser look with the sidebar
> and column/icon views.

I have implemented a FileChooserUI that roughly looks and behaves like the
native one in my Quaqua Look and Feel.

Here is a screenshot:
http://www.randelshofer.ch/quaqua/guide/jfilechooser.html

And here is the download page:
http://www.randelshofer.ch/quaqua/download.html



> Has anyone noticed this? It seems odd that Apple would implement the older,
> AWT component FileDialog in a more modern way than the newer, Swing
> JFileChooser. 

The AWT dialog uses the native file chooser. That's why it always has the
same feature set as the native user interface toolkit provides. For the
Swing FileChooserUI all these features need to be implemented again.

You may want to read the "Java Development Guide for Mac OS X" for more
information.
On the following page, scroll down to "File Choosing Dialogs":

http://developer.apple.com/documentation/Java/Conceptual/Java14Development/0
7-NativePlatformIntegration/NativePlatformIntegration.html#//apple_ref/doc/u
id/TP40001909

IMHO Apple's current FileChooserUI implementation is not suited for real
use. I hope Apple will fix this in a future release. Until this happens, you
may want to give my Quaqua Look and Feel a try.


With kind regards,
Werner Randelshofer

 _______________________________________________
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

References: 
 >FileDialog vs JFileChooser (From: Paul Archibald <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.