An example game with the j2d engine. I wouldn't touch this with a 10 foot pole if I were you.