First of all write the game code,which will work in console and then add JComponents to the game.
Create two-dimensional array[10][10],and try to find the solution how to place the dama components...