Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Threads in MIDP1.0 app  RSS feed

 
Ray
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a question about threads in MIDP1.0 game.
In a simple MIDP1.0 game including a MIDlet and a canvas, how many threads are there? is it two (a main midlet thread and an event thread for key events and painting)? or just one thread?

If the canvas inplements Runable, how many threads are there?

To develop a MIDP1.0 game, does the canvas must implement runable? why?



Rain
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Raindrop"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!