404 |
{ |
{ |
405 |
try |
try |
406 |
{ |
{ |
407 |
Thread.sleep(milliseconds); |
Thread.sleep(milliseconds); |
408 |
} |
} |
409 |
catch (InterruptedException e) |
catch (InterruptedException e) |
410 |
{ |
{ |
411 |
// Ignore this. |
// Ignore this. |
412 |
} |
} |
413 |
} |
} |
414 |
|
|
424 |
{ |
{ |
425 |
for (int index = 0; index < (debugFlashCount - 1); ++index) |
for (int index = 0; index < (debugFlashCount - 1); ++index) |
426 |
{ |
{ |
427 |
graphics.setColor(color); |
graphics.setColor(color); |
428 |
graphics.drawRect(x, y, width, height); |
graphics.drawRect(x, y, width, height); |
429 |
sleep(debugFlashTime); |
sleep(debugFlashTime); |
430 |
|
|
431 |
graphics.setColor(debugFlashColor); |
graphics.setColor(debugFlashColor); |
432 |
graphics.drawRect(x, y, width, height); |
graphics.drawRect(x, y, width, height); |
433 |
sleep(debugFlashTime); |
sleep(debugFlashTime); |
434 |
} |
} |
435 |
|
|
436 |
graphics.setColor(color); |
graphics.setColor(color); |
449 |
{ |
{ |
450 |
for (int index = 0; index < (debugFlashCount - 1); ++index) |
for (int index = 0; index < (debugFlashCount - 1); ++index) |
451 |
{ |
{ |
452 |
graphics.setColor(color); |
graphics.setColor(color); |
453 |
graphics.fillRect(x, y, width, height); |
graphics.fillRect(x, y, width, height); |
454 |
sleep(debugFlashTime); |
sleep(debugFlashTime); |
455 |
|
|
456 |
graphics.setColor(debugFlashColor); |
graphics.setColor(debugFlashColor); |
457 |
graphics.fillRect(x, y, width, height); |
graphics.fillRect(x, y, width, height); |
458 |
sleep(debugFlashTime); |
sleep(debugFlashTime); |
459 |
} |
} |
460 |
|
|
461 |
graphics.setColor(color); |
graphics.setColor(color); |
696 |
{ |
{ |
697 |
for (int index = 0; index < (debugFlashCount - 1); ++index) |
for (int index = 0; index < (debugFlashCount - 1); ++index) |
698 |
{ |
{ |
699 |
graphics.setColor(color); |
graphics.setColor(color); |
700 |
graphics.drawChars(data, offset, length, x, y); |
graphics.drawChars(data, offset, length, x, y); |
701 |
sleep(debugFlashTime); |
sleep(debugFlashTime); |
702 |
|
|
703 |
graphics.setColor(debugFlashColor); |
graphics.setColor(debugFlashColor); |
704 |
graphics.drawChars(data, offset, length, x, y); |
graphics.drawChars(data, offset, length, x, y); |
705 |
sleep(debugFlashTime); |
sleep(debugFlashTime); |
706 |
} |
} |
707 |
|
|
708 |
graphics.setColor(color); |
graphics.setColor(color); |