Original Post
I am trying to model a chessboard in a Swing application. This board will eventually have chesspieces on it. I tried making the application have a GridLayout, and then I put JLabels into the different sections of the grid. That doesn't work, because I need an 8 by 8 coordinate system. I want to be able to say: Move piece on (2, 2) to (2, 3) etc. This doesn't work with a GridLayout. How, then, would I model the chessboard with Swing? I can't seem to find any sort of Swing coordinate system-friendly Layout.