A more interesting physics simulator, this time in Java.