I want to try my hands on developing some small games. I would like to start with the Square game; the one which involves sequecning the numbers, and placing them in sorted order. However i am new to Swings. So the only hurdle here is developing the GUI for me beause rest all would be pure logic. I would like to know which layout manager would be helpful, as it will involve relocating the components on a Jpanel and any method which would do the same.
Consider using JLabels as piece components. You might also consider a gridlayout. which would be simpler than a gridbag layout. if there are any issues with gridlayout having an empty cell then you could just use a blank Jlabel for that cell.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com