and if you want to return when an interrupt is received, simply check for 'isInterrupted()',
for instance in line 25: for (int i = 0; i <= 10 && !isInterrupted(); i++) {...}
Greetz,
Piet
There are three kinds of actuaries: those who can count, and those who can't.