this.comp = comp; this.timediff = timediff;
while (true) { try { comp.repaint(); sleep(timediff); } catch (Exception e) {} }