/** Get the default folder */ public File getDefaultFolder() { final File recentFolder = _folderTracker.getMostRecentFile(); if (recentFolder != null && recentFolder.exists()) { if (_subfolderName != null) { final File defaultFolder = new File(recentFolder, _subfolderName); if (!defaultFolder.exists()) { defaultFolder.mkdir(); } return defaultFolder; } else { return recentFolder; } } return null; }
/** Determine if the default folder has been specified. */ public boolean defaultFolderSpecified() { return _folderTracker.getMostRecentFile() != null; }