I am writing a program in j2me and i want to have a thread that starts when the program launches but wll sit doing nothing until the user presses ok. The thread will then go and carry out a task and then go idle again until the user presses ok again.
But what has got me confused is, i am reading a tutorial about threads and it says once the thread has carried out its run method the thread terminates. Does this mean the thread is killed altogether? How would i keep it alive after carry out its first task?