I\'m trying to code a game from scratch in Java but my code keeps rendering what should be completely on the screen partly off the screen.
public void render(