Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: FxObj
Wraps JavaFX DirectoryChooser, a dialog that lets the user browse the file system and select a directory. An optional title and initial directory can be set before the dialog is shown. Calling show() presents the native directory picker and returns the selected directory path, or null if the user cancels.
DirectoryChooser ()
Creates a new DirectoryChooser.
setTitle (string Title)
Sets the dialog title.
Title is a string with the title.this object for chainingsetInitDir (string DirPath)
Sets the initial directory.
DirPath is a string with the directory path.this object for chainingshow (object MainStage)
Shows the directory chooser dialog.
MainStage is the owner fxApp stage.The selected File object or null.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.