public boolean saveProject(Component parentComponent, NESModelListener listener){
		if(projectFileName == null){
			return saveAsProject(parentComponent, listener);
		}
		File selectedFile  = new File(projectFileName);

		boolean ret = saveProjectToFile(selectedFile);
		if(ret) {
			projectFileName = selectedFile.getAbsolutePath();
			EnvironmentUtilities.updateStringEnvSetting(CHR_EDITOR_MODEL_LAST_PROJECT_PROPERTY, projectFileName);
			if(project.getPaletteFileName() != null){
				savePalette(parentComponent);
			}
			if(project.getPatternTableFileName() != null){
				savePatternTables(parentComponent, listener);
			}
			if(project.getNameTableFileName() != null){
				saveNameTable(parentComponent, listener);
			}
			if(project.getAnimationsFileName() != null){
				saveAnimations(parentComponent);
			}
		}
		return ret;
	}