SFML book source code in Java