public void loginCompleted(RoomEvent event) {
synchronized public void loginCompleted(RoomEvent event) {
    public void loginCompleted(RoomEvent event) {        //      if (trucoPlayer == null) {        trucoPlayer = event.getPlayer();        /*         * logeador.log(TolucaConstants.CLIENT_INFO_LOG_LEVEL, " Cliente Login         * completed " + trucoPlayer);         */        commClient.setTrucoPlayer(trucoPlayer);        ((RoomClient) room).loginCompleted(trucoPlayer);        getCommClient().setLoggedIn(true);        //  }        //        HashMap jugadores = event.getPlayers();        Iterator it = event.getPlayers().values().iterator();        while (it.hasNext()) {            //String keyClave = (String) it.next();            //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, " Se va a            // cargar "+newPlayer);            //se agrega a todos menos a si mismo            TrucoPlayer tp = (TrucoPlayer) it.next();            if (!trucoPlayer.getName().equals(tp.getName())) {                room.addPlayer(tp);            }        }        //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, "El vector de        // table vale ");        //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL,        // event.getTablesServers().length);        TableServer[] tables = event.getTablesServers();        for (int i = 0; i < tables.length; i++) {            if (tables[i] != null) {                //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, "login                // ok dentro de tables ");                TrucoPlayer playerOwner = tables[i].getHost();//este player es                // igual al                // playerCreador,                // solo que el                // playerCreador                // es la ref en el                // cliente                TrucoPlayer playerCreador = room.getPlayer(playerOwner                        .getName());                Table table = addTable(playerCreador, tables[i]                        .getTableNumber());                Vector vec = tables[i].getPlayers();                Iterator iterator = vec.iterator();                //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL, "Los                // player de la taba "+tables[i].getTableNumber());                while (iterator.hasNext()) {                    TrucoPlayer playerClient = room                            .getPlayer(((TrucoPlayer) iterator.next())                                    .getName());                    if (!playerClient.getName().equals(playerCreador.getName())) {                        table.addPlayer(playerClient);                    }                    Integer asiento = tables[i].getAsiento(playerClient);                    if (asiento != null) {                        //logeador.log(TolucaConstants.CLIENT_DEBUG_LOG_LEVEL,                        // "En el login ya se hace un sitPlayer de"+playerClient                        // +" en la chair "+asiento);                        table.sitPlayer(playerClient, asiento.intValue());                        ((RoomClient) room).setearPlayerTable(playerClient,                                table, asiento.intValue());                    }                }            }        }    }