public double ct = LD; public void run() { while (ct <= 99.9) { try { sleep(1000); } catch (InterruptedException e) { } ct += 0.1; } stop(); }