Solved
Hello
Try to put an invalidate before "box1.setX ( box1.getX () - 1 );".
With only one invalidate at the end, it will only invalidate the area in the new position, so the line outside will not be refreshed. Also if you move your box in the screen you may have a (w+1) * h box due to that.
Best regards,
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


