Ver Mensaje Individual
  #7 (permalink)  
Antiguo 19/02/2018, 11:19
Avatar de Fuzzylog
Fuzzylog
 
Fecha de Ingreso: agosto-2008
Ubicación: En internet
Mensajes: 2.511
Antigüedad: 15 años, 7 meses
Puntos: 188
Respuesta: Funcion timer que funcione para multiples componentes

Por una duda que tengo, prueba también con este código

if (t != null) {
if(t.isRunning()) {
t.stop();
}
int delay = t.getDelay();
t = new Timer(delay, tiempo);
} else {
t = new Timer(10, tiempo);
}
t.start();

y comenta la línea de la ejecución principal

timer.getInstancia().start();
__________________
if (fuzzy && smooth) {
fuzzylog = "c00l";
return true;
}