javaFX 2.0 how to select files aka FileChooser


Question

I'm trying out the new JavaFx 2.0 beta release but cannot find anyway of selecting files using a dialog box like JfileChooser.

Any ideas on how to do this?

Thanks

1
3
5/30/2011 2:58:07 AM

Accepted Answer

11
7/24/2011 8:37:11 PM

At present there aren't any file chooser dialogs available in JavaFX 2.0 beta. Your best option in the short-term is to use a TreeView and browse your file system with that. Creating a TreeView file system browser is rather simple.


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon