In addition to creating the file chooser and pointing it to an initial directory, these constructors initialize some of the variables needed for using a Bean editor.
XFileChooser()
Creates an XFileChooser pointing to the user's home directory.
XFileChooser(String currentDirectoryPath)
Creates an XFileChooser pointing to the path specified by currentDirectoryPath. If currentDirectoryPath is null, the file chooser points to the user's home directory. currentDirectoryPath may be an NFS URL as specified by the Extended File API.
XFileChooser(Xfile currentDirectory)
Creates a file chooser that points to the directory specified by the XFile object currentDirectory.