| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 24-May-06, at 2:45 PM, Elliott Hughes wrote: On 2006-05-23, Steve Roy <email@hidden> wrote: Mike implied that there might be some chance of *FileDialog* improvements if we say what it is that forces us to use JFileChooser. Who cares about FileDialog improvements? Is it not working as advertised now? It's JFileChooser that needs the work. I don't want to have hacks in my Swing code. AWT is old news. It's practically deprecated. I shouldn't need to use it (directly) in a Swing application. It sticks out like a sore thumb if the rest of my application uses a customized look and feel, or I allow the user to choose a look and feel. i seriously doubt that it's productive for people on this list to be so rude in response to seemingly honest interest in fixing things. (the other poster was worse.) i think it's telling that everyone who's been specific about what they'd need in FileDialog has asked for something different. it's like the MS Word problem where everyone uses 10% of the features, but everyone uses a different 10%. for example, to my mind the requested ability to put custom components in the file dialog is an abomination. i've never seen that used well. As far as the accessory component not ever being used well. The way I look at it, the native Aqua file dialog effectively implements the "accessory" as the last column. In fact, if the Swing version had a default accessory that just looked like the native file info column and if setting your own accessory actually replaced that column, I would consider that acceptable. what i personally would need from FileDialog to be able to use it all the time (rather than just most of the time) is to have a way to say FILES_ONLY/DIRECTORIES_ONLY/FILES_AND_DIRECTORIES on a per-dialog basis. so to paraphrase another poster in a more polite fashion, "any JFileChooser functionality Apple can offer us in FileDialog would be appreciated by some, and help improve some Java applications on Mac OS". but going back to the post i'm replying to, if you replace "Apple" with "Sun", i'm 100% with you. i too am tired of Sun making it sound like the JFileChooser implementation is usable. and pretending that http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4031440 and its many duplicates need not be fixed. the evaluation of that bug says *exactly* the alternative API that needs adding to replace the should-be deprecated unimplementable API they lumbered themselves with. pretending that JFileChooser is anything but a heinous leap backwards drives me mad. as far as i've seen, Apple have been clear and consistent in their advice that you should avoid JFileChooser because -- though they're too polite to say so -- it's a piece of junk. on *all* platforms. and fixing JFileChooser (once for each platform!) will be way harder to fix than going back and revising FileDialog would. Scott |
_______________________________________________ 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: | |
| >Re: FileDialog vs JFileChooser (From: "Elliott Hughes" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.