package nl.fontys.sofa.limo.view.util;

import javax.swing.JFileChooser;

/**
 * Open a folder selection dialog with the title to select a folder.
 *
 * @author Sven Mäurer
 */
public class ChainSaveFileChooser extends JFileChooser {

    public ChainSaveFileChooser() {
        setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
        setApproveButtonText("Save");
    }

    @Override
    public String getDialogTitle() {
        return LIMOResourceBundle.getString("SELECT FOLDER");
    }

}
