Bill Fenner wrote:
> On 6/13/05, Hussein Shafie <hussein at pixware.fr> wrote:
>>Alex Milowski wrote:
>>>Ideally, it
>>>would be best that it use the Mac OS X file open/save dialog.
>>We use the JFileChooser on all platforms. It seems that on the Mac this
>>component does not properly emulate the native file open/save dialog.
> 
> I don't know enough about cross-platform Java to know whether this is
> better or worse on other platforms, or even how the APIs compare, but
> MacOS's java.awt.fileDialog is much closer to the native look and feel
> than javax.swing.jFileChooser .  (...and in the same breath, almost,
> the documentation says that jFileChooser is more powerful, flexible
> and modern.)

To my knowledge,

* java.awt.FileDialog = thin Java wrapper around the native file dialog.

* javax.swing.JFileChooser = 100% Java implementation, having a flexible
API (example: allows to add a preview of the selected file), and
supposed to emulate the native file dialog (when the ``system'' look and
feel has been selected).


Reply via email to