-
Simple Threading question
Hi there,
I am creating a simple test app for myself and I am not really much of an
expert in threading and multithreading.
I have a component that moves on an applet randomly. At the same time, I
want to move another component, but based on user inputs.
Now, as far as moving the second object, it's just a matter of reading the
event key chars and the first object moves through a thread.
But from what I have seen thus far, I have had a hard time getting these
movements co-ordinated.
What is the best way to co-ordinate my running thread and its randomly moving
object and at the same time retrieving keyboard information and moving my
other objects simultaneously to the observers' eye?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|