code: public void saveConfiguration()
  	{
  
  		if (this.createConfigurationXML()) {
  
  			XMLFileChooser fc = new XMLFileChooser();
  			if (fc.showSaveDialog(new JPanel()) == XMLFileChooser.APPROVE_OPTION) {
  
  				String path = fc.getSelectedFile().getPath();
  				if (path.indexOf('.') == -1) {
  					path += ".xml";
  				}
  
  				if (this.saveConfiguration(path)) {
  					System.out.println("SAVE CONFIG SUCCESSFULL");
  				}
  				else {
  
  					System.out.println("SAVE CONFIG FAILED");
  				}
  			}
  
  		}
  	}
docs: Saves the configuration file. The path of the file will be chosen by
  displaying a FileChooser Dialog.