public static void chooseSave(Component c){
		final JFileChooser fc = new JFileChooser();
		FileFilter filter = new ExtensionFileFilter("Nightmare Level File (*.nml)", new String[] {"nml"});
		fc.setFileFilter(filter);
		int returnVal = fc.showSaveDialog(c);
		if (returnVal == JFileChooser.APPROVE_OPTION){
			String fPath = fc.getSelectedFile().getAbsolutePath();
			if (!fPath.endsWith(".nml"))
				fPath += ".nml";
			f = new File(fPath);
			generateFile();
		}
		//TODO: Handle cancellation
	}