James Hancock
asked on
Repainting a JFrame automatically, continuously
Hi
What might code look like, for a game, a thread, to repaint the game window constantly?
What might code look like, for a game, a thread, to repaint the game window constantly?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I'm not sure multithreading will help with that.
Try first to do it without any special things. Myabe you want to consider incesing time - I odn't know how long it takes to redraw
but it seeems to nme it may be longer than 10 ms
Try first to do it without any special things. Myabe you want to consider incesing time - I odn't know how long it takes to redraw
but it seeems to nme it may be longer than 10 ms
ASKER
Thanks
But, I do 10 mili-seconds, not 1000!
I worry about there being congestion, but does the multi-threading eliminate that as a concern?