public void ouvrirFichier() {

		JFileChooser jFileChooserXML = new JFileChooser();
		jFileChooserXML.setDialogTitle(title);
		jFileChooserXML.setCurrentDirectory(new File(starting_directory));

		if(is_saving_mode) {
			jFileChooserXML.setDialogType(JFileChooser.SAVE_DIALOG);
	        if (jFileChooserXML.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {

	        	this.cheminFichier=jFileChooserXML.getSelectedFile().getAbsolutePath();
	        }
		}
		else {
			MonFileFilter filter = new MonFileFilter();
			filter.addExtension("xml");
			filter.setDescription("Fichier XML");
			jFileChooserXML.setFileFilter(filter);
			jFileChooserXML.setFileSelectionMode(JFileChooser.FILES_ONLY);
	        if (jFileChooserXML.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {

	        	this.cheminFichier=jFileChooserXML.getSelectedFile().getAbsolutePath();
	        }
		}


	}