No, it is possibly the worst way you could conceivably imagine doing it. Do not use a Thread.
Cas
Ok, but what am I supposed to do as an alternative then?Cas

If I just run it, without using the thread, my game gets too laggy..
| Java-Gaming.org |
|
||||
|
Featured games (78)
games approved by the League of Dukes |
Games in Showcase (408)
games submitted by our members |
Games in WIP (294)
games currently in development |
| News: Read the Java Gaming Resources, or peek at the official Java tutorials |
| Home | Help | Search | Login | Register |
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||