Alright, well, this is my 2nd post so far... My first problem was easily repaired ( I incremented an i instead of j in one of my for loops... lol ). But this problem is a little more, how can I say, not a visual mistake, but a implementation thing...
Again, this is the minesweeper game I'm trying to do... Here's my problem, best explained with a picture: (i guess img tags dont work)
[img]http://img182.imageshack.us/img182/2003/jbuttonyr6.jpg[/img]
I'm trying for the picture on the right with small boxes and regular font text, but it seems like I need each button to be a certain width to fit anything in there.. Is there a way to change that so the text fits perfectly, centered inside each button without the cap on width? The hight seems to not matter in this case, which is weird to me...
Any advice? Again, each one of those boxes are JButton. I am using b.setText("") to enter the text into the buttons when a click is heard.