Barrido.resetBarrido();
} else{
System.out.println("Barrido 2 fases en segunda fase");
System.out.println("___________________Activo: " + t.activo.getName());
//Manejo.TratamientoDatos.tratarEnter();
tdr= new TratamientoDatosRun("tenter");
tdr.start();
}
// }
}
// si estamos seleccionando y el barrido es manual
else if ((t.barrido==t.MANUAL_FILAS_COLUMNAS)|| (t.barrido== t.MANUAL_FILAS)|| (t.barrido==t.MANUAL_COLUMNAS)){
System.out.println("Es barrido manual y estoy seleccionando");
if ((t.barrido==t.MANUAL_FILAS_COLUMNAS)&& (t.seleccionandoFila)){
System.out.println("He elegido una fila");
//t.barrido= t.MANUAL_COLUMNAS;
t.seleccionandoFila=false;
// limpio todos los botones
int iter=0;
while((iter < t.coleccion.size())){
t.coleccion.get(iter).setOpaque(true);
t.coleccion.get(iter).setBackground(t.colorBot);
iter++;
}
// Revisar si la 1� es parar
MovimientoTablero.seleccionar(t.coleccion.get(t.filaBarrida*t.columnas));
} else { // si es manual: filas, columnas, o filas_columnas sin seleccionar fila
System.out.println("Elijo la activa");
System.out.println("___________________Activo: " + t.activo.getName());
//Manejo.TratamientoDatos.tratarEnter();
tdr= new TratamientoDatosRun("tenter");
tdr.start();
}
}
}