public File getDirectory() {
public File getDirectory(JFrame frame) {
	public File getDirectory() {		chooser = new JFileChooser();		chooser.setCurrentDirectory(new java.io.File(JFritz.getProperty("backup.path", ".")));		chooser.setDialogTitle(CHOOSER_TITLE);		chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);		if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {			Debug.msg("getCurrentDirectory(): " + chooser.getSelectedFile());			JFritz.setProperty("backup.path", chooser.getSelectedFile().toString());			return chooser.getSelectedFile();		} else {			return null;		}	}