Missing file chooser control

Mark Fortner phidias51 at gmail.com
Tue Jan 22 17:20:55 PST 2013


Hi Richard,
I mean the current default file chooser.  My interpretation of the NIO Path
APIs is that they're supposed to obscure the actual file system
implementation and let you write to that interface (similar to the way in
which Commons VFS does it).  If that's the  case, is there any reason that
we would not support it in the file chooser (either along side, or in place
of the current File API)?  As new File System providers become available it
will make it possible to save files on NFS, or FTP servers as easily as we
currently write to the local file system.

Cheers,

Mark



On Tue, Jan 22, 2013 at 5:12 PM, Richard Bair <richard.bair at oracle.com>wrote:

> Hi Mark,
>
> > In your reply you mentioned "use the normal Java APIs to access the
> > filesystem"  Are there any plans to support the Path API that's part of
> > Java NIO2?  This would make is possible for developers to use file
> choosers
> > that connect to other file systems (like FTP, NFS, etc).  Without that it
> > would be similar to Swing not supporting the Collections API.
>
> Do you mean the file chooser we show, or a custom one? Ours is just the
> native file chooser dialog, so you would need a customizable file chooser
> for that, in which case the full set of Java APIs are available to you,
> including new NIO APIs.
>
> Cheers
> Richard


More information about the openjfx-dev mailing list