private class RunTimerTask extends TimerTask { public final void run() { int time = 0; int time1 = 5; int time2 = time+time1; t.set(1, " "+ ++count + " ",null); t.set(3, " "+ time2 + " ",null); } }
There is a timer. I need to add a certain amount after the time expires. He just adds the same piece of code 1 because ++count
how can I do that would add the number 3 for example.
count += 3
. - VladD