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