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){}
}
}