I have to create a midlet using netbeans. It says have 1 form that allows the user to enter data. Second form shows a gauge. The third form displays results. It must also have 2 threads. 1 thread that reads the users input and another thread that carries out some tasks and then displays the results.
What i dont understand is how to create the first thread as i thought the user would enter data then once they press 'Ok' the second thread would be launched and the second form shown. But this would mean that i have only created the second thread as the program itself that netbeans has generated is already a thread as it constantly listens for user input.
I might of explained it poorly so what i am asking is when you create a midlet using netbeans is it automatically considered a thread as it constantly listens for user input?
If not how would i go about creating a thread that grabs the users input from from text fields?