public VueSalle(ListUserPanel a, int nbPlaces){
		matriceSalle = ListeMatriceSalle.getMatriceSalle(nbPlaces);
		listUserPanel = a;
		setHeight("100%");
		setWidth("100%");
		setStyleName("vueSalle");

		flextable = new FlexTable();
		flextable.clear();
		flowpanel = new FlowPanel();
		flextable.setWidget(1, 0, flowpanel);
		flowpanel.setSize("100%", "100%");
		flextable.setCellSpacing(0);
		add(flextable);

		// CREATION DE LA VUE DE LA SALLE
		for (int i = 0; i < 10; i++)
			for (int j = 0; j < 12; j++)
				flextable.setWidget(i, j,(new Case(matriceSalle[i][j],i ,j )));

		//System.out.println("Nouvelle connexion !");

		// RECUPERATION DU COMPTEUR SALLE DU SERVEUR
		SalleService.Util.getInstance().getCptSalle(Core.userEnCours.getIdSalleEnCours(), new AsyncCallback<Integer>(){
			@Override
			public void onFailure(Throwable caught) {
				//System.out.println("erreur !");
			}
			@Override
			public void onSuccess(Integer result) {
				cptVueSalle = result;
			}
		});

		// RECUPERATION DE LA MATRICE DES USERS
		SalleService.Util.getInstance().getMatriceUser(Core.userEnCours.getIdSalleEnCours(),
				cptVueSalle, new AsyncCallback<User[][]>(){
					@Override
					public void onFailure(Throwable caught) {
					}
					@Override
					public void onSuccess(User[][] result) {
						for (int i = 0; i < 10; i++)
							for (int j = 0; j < 12; j++){
								if (result[i][j] != null){
									flextable.setWidget(i,j,
											new SiegeButton("images/"+result[i][j].getCheminAvatar(),i,j,true));
								}
							}
						refresh();
					}
				});
	}