private void generer() {
		Generer g=new Generer(this,this.menu);
		while(g.estEnCours() && !this.stop) {
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {
			}
		}
		g.masquer();
		if(!this.stop) {
			this.res=Interface.crypter(Fabrique.fabriquerMessage("Ce message est inutile"), g.getTypCode(), Interface.genererCle(g.getTypCode()));
			g.liberer();
			g=null;
			this.enregistrerCle();
		}
		else {
			this.stop=false;
			g.liberer();
			g=null;
			this.action();
		}
	}