Hello
No it is not working. This is what my code looks like:
----------------------------
while (int1 != int2) {
tp1c = int1 +1;
//textbox1.setText(""int1); // this is for
testing.
try
{
Thread.sleep( 500);
}
catch( InterruptedException e )
{
}
}
-----------------------------
What happens is that it just waits for 500 milliseconds and then executes the code so all i see in textbox1 is 5 instead of 2 then wait for 500 millisecond , then 3, wait for 500 milliseconds, then 4, wait for 500 milliseconds and then finally 5.
what am i doing wrong?
[ April 17, 2006: Message edited by: MR Chahal ]