does any knows how to set a delay in japple - timmer? before running test method i want to set one sec dalay.
public void test()
{
//some code here
}
i tried this but didnt work.
public void test()
{
int i = 10000;
while(i >= 0){
i--;
}
//some code here
}
also tried:
public void test()
{
timerClass.setDelay(1000);
int i = 10000;
while(i >= 0){
i--;
}
//some code here
}
}