[Newbie] Which JAVA API is a good choice for creating a game board?

I'm a newbie in JAVA game programming.

I would like to create a chess game for fun. I have a fairly good idea on how I want it to be, but I'm having some difficulty on the game board.

I am not sure which set of JAVA API I should be using to design my board. I guess that the board will sits in the back, and in the front, there'll be my chess pieces that I can drag and drop.

Should I be using JAVA Swing to do this? or JAVA 2D API? It will require some study for either one, so I figure I should pick a good one to learn.

Thanks in advance! :-)

[579 byte] By [beyonddca] at [2007-10-2 18:09:03]
# 1
You may want to use the Java 3D even though you are only going to make a 2 dimension game--take a look, it may give you more for your learning efforts.
morgalra at 2007-7-13 19:28:43 > top of Java-index,Other Topics,Java Game Development...
# 2
Read, Killer Game Programming in Java, this book should have what you need to know. Here is the web site ( http://fivedots.coe.psu.ac.th/~ad/jg/index.html) look at Chapter 26.Fractal Land and Chapter 15.A 3D Checkboard you should find what you need. P.S. Really good book.
saras_mcloeda at 2007-7-13 19:28:43 > top of Java-index,Other Topics,Java Game Development...
# 3
Thanks!I'll check out the JAVA 3D API and the Killer Game Programming in JAVA book.
beyonddca at 2007-7-13 19:28:43 > top of Java-index,Other Topics,Java Game Development...
# 4

Also if you would like to create a much simpler, 2D chess game, I would suggest you use the Swing API, which comes with Java from version 1.2 and on up. Naturally I would suggest at least using the latest 1.4 or 1.5 software development kit, because they have greater and more stable features, bug fixes and so on. I also would suggest you go to the library or Barnes and Noble nearest you, and pick up a book on Java. One recommendation that may be simpler to get an understanding of Java is from Deitel and Deitel: http://www.deitel.com/books/jHTP6/ though my beginner's Java book was geared directly toward how to program games (small games like memory, or tetris), though I can't remember what it was called. Anyway I believe it is very important to learn the basics of Java before you get into things that you may or may not understand. My opinion, so have a go at it.

nathanlanea at 2007-7-13 19:28:43 > top of Java-index,Other Topics,Java Game Development...
# 5

I bought the Killer Game Programming in Java book.

I have about 3 years of work experience in Java, but none of that require any GUI programming, therefore I know nothing about swing or the 2D api.

Hopefully the game programming book will give me all the necessary knowledge.

:)

beyonddca at 2007-7-13 19:28:43 > top of Java-index,Other Topics,Java Game Development...