Getting delta movement for mouse in Java I am working on a game in Java, and I want to use as much built in functionality as I can.