Hi guys,
I'm facing a slight problem here .I'm making a mini banking application using j2me.Now i added features for a person to check his credit card balance ,banking , shopping and sharetrading.Now the creditcard is working fine.But the problem is i'm using threads so if i declare a new thread in the command action and start it (for credit card) it automatically goes to public void run() like it does normally.Now if i want to select another option;say banking i need to define a new thread whoch obviously functions differently .How do i get that thread to automatically go to its public void run()...and i can have only 1 method as run()...right??...will i have to write this code in a separate midlet?...if not how to do it?
Thanks
Arvind
I'm facing a slight problem here .I'm making a mini banking application using j2me.Now i added features for a person to check his credit card balance ,banking , shopping and sharetrading.Now the creditcard is working fine.But the problem is i'm using threads so if i declare a new thread in the command action and start it (for credit card) it automatically goes to public void run() like it does normally.Now if i want to select another option;say banking i need to define a new thread whoch obviously functions differently .How do i get that thread to automatically go to its public void run()...and i can have only 1 method as run()...right??...will i have to write this code in a separate midlet?...if not how to do it?
Thanks
Arvind