Basicly, I\'m making a game which to update the players position, it uses this thread:
@Override
public void run() {
while(true) {
System.out.pri
Don't know if that would solve it, but it looks like you're giving the JVM a hard time... Try adding a short sleep (which is the correct way to implement a game thread) before each updatePos(x, y) call.
@Override
public void run() {
while(true) {
Try
{
Thread.sleep(50);
}
catch (Exception e){}
updatePos(x, y);
}
}}