Class JavaDirectoryChooser

    • Constructor Detail

      • JavaDirectoryChooser

        public JavaDirectoryChooser()
        Constructs a JavaDirectoryChooser pointing to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
      • JavaDirectoryChooser

        public JavaDirectoryChooser​(String currentDirectoryPath)
        Constructs a JavaDirectoryChooser using the given path. Passing in a null string causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
        Parameters:
        currentDirectoryPath - a String giving the path to a file or directory
      • JavaDirectoryChooser

        public JavaDirectoryChooser​(File currentDirectory)
        Constructs a JavaDirectoryChooser using the given File as the path. Passing in a null file causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
        Parameters:
        currentDirectory - a File object specifying the path to a file or directory