Ver Mensaje Individual
  #6 (permalink)  
Antiguo 05/05/2016, 15:48
anthony20
 
Fecha de Ingreso: octubre-2013
Mensajes: 31
Antigüedad: 10 años, 6 meses
Puntos: 0
Respuesta: Intentando un TimeOutException

Bueno, solucione el problema lanzando un hilo paralelo:
Código:
void setup(){
        ThereadOK AAA = new ThereadOK("testing");
        AAA.start();   
    }
    int i = 0;
void draw()
{
  println(i); i++; delay(500);
}


public class ThereadOK extends Thread {
    public ThereadOK(String str) {
        super(str);
    }
    public void run() {
      try{   
        println(getName());delay(10000);println(getName());
      }catch(Error e){}
    }
}