public void saveProgramAs(){
		File file = askForFileName();
		if (file != null){
			LogoDocument program = getProgram();
			program.setFile(file);
			try {
				program.save();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}