private String showSaveDialog() {
		File file;
		String filename;
		JFileChooser fc = new JFileChooser();


		int rc = fc.showDialog(null, "Select file");

		if (rc == JFileChooser.APPROVE_OPTION){

			file = fc.getSelectedFile();

			filename = file.getAbsolutePath();
			return filename;

		}else {
			return null;
		}
	}