Do u advise me to get that book for java2D?
I totally advise "Developing Games in Java" by David Brackeen. I'm not a huge fan of books, but this one is a charm. If you already know Java, this is the book for you
By chapter 5 you create a functional 2D platform game, then the rest of the book focuses on memory management, game networking, game saving, 3D programming, etc. It gives you a pretty good boost into game programming.
to take a peek at the soure code he uses in his book and play the example game