This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!