private void affichage_messages(int i){

		int ID_message = filemessages.get(i).getId();
		//System.out.println("ID=" + ID_message);

		switch (ID_message) {

		//deplacement1
		case(0x100):
			int positionX = 0;
		int positionY = 0;
		int anglesign = 0;
		chaine_affich = chaine_affich + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		positionX = ((Deplacement1)filemessages.get(i)).positionX;
		positionY = ((Deplacement1)filemessages.get(i)).positionY;
		maj_pos_robot(positionX, positionY, anglesign);
		break;

		//Deplacement 2
		case(0x111):
			chaine_affich = chaine_affich + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		break;	

		//capteur
		case(0x200):
			chaine_affich = chaine_affich + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		chaine_etat_robot = chaine_etat_robot + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		break;				

		//intelligence
		case(0x140):
			chaine_intelligence = chaine_intelligence + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		chaine_affich = chaine_affich + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		break;	

		//actionneur
		case(0x500):
			chaine_affich = chaine_affich + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		chaine_etat_robot = chaine_etat_robot + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		break;

		//Carte espion
		case(0x7FF):
			chaine_affich = chaine_affich + "[" + i + "]" + filemessages.get(i).toString() + "\n";
		break;

		//Autre
		default:
			System.out.println("ID non reconnu dans l'interface");
			break;

		}
	}