/** * Creates a BaseDirectoryChooser pointing to the user's home directory. */ public BaseDirectoryChooser() { super(); initialize(); }
/** * Creates a BaseDirectoryChooser using the given FileSystemView. * * @param fsv the view to use */ public BaseDirectoryChooser(FileSystemView fsv) { super(fsv); initialize(); }
/** * Creates a BaseDirectoryChooser using the given path. * * @param currentDirectoryPath the directory to start in */ public BaseDirectoryChooser(String currentDirectoryPath) { super(currentDirectoryPath); initialize(); }
/** * Creates a BaseDirectoryChooser using the given path and FileSystemView. * * @param currentDirectoryPath the directory to start in * @param fsv the view to use */ public BaseDirectoryChooser(String currentDirectoryPath, FileSystemView fsv) { super(currentDirectoryPath, fsv); initialize(); }
/** * Creates a BaseDirectoryChooser using the given File as the path. * * @param currentDirectory the directory to start in */ public BaseDirectoryChooser(File currentDirectory) { super(currentDirectory.getAbsoluteFile()); initialize(); }
/** * Creates a BaseDirectoryChooser using the given current directory and * FileSystemView. * * @param currentDirectory the directory to start in * @param fsv the view to use */ public BaseDirectoryChooser(File currentDirectory, FileSystemView fsv) { super(currentDirectory.getAbsoluteFile(), fsv); initialize(); }