Where is filechooser in javafx scene builder 2.0? I can't find it

Passatizhi picture Passatizhi · Aug 3, 2014 · Viewed 14.8k times · Source

I have java jdk 7.65, sdk 7.65. Where is filechooser in javafx scene builder 2.0? I can't find it.

Answer

James_D picture James_D · Aug 3, 2014

SceneBuilder is for building a Scene graph, i.e. for creating nodes and adding them to a root container that is intended to be added to a Scene.

FileChooser is not a Node; it cannot be placed in Scene graph; so it really wouldn't make sense to include it in SceneBuilder. The typical use of a FileChooser is that it's shown in response to the user action, such as pressing a button. This would be done in a handler method, not in the construction of the UI.

In other words, it's not really clear what you would do with a FileChooser if it were available in SceneBuilder.