Displaying multiple images in a grid
Alright, I'm fairly new to java, so go easy on me if this is a stupid question. . . but I'm a bit stumped.
let's say I have a two-dimensional array representing a grid, where some of the coordinates contain an image.
How can I display the grid in the middle of a pane(or anywhere on a pane for that matter) and keep the correct dimensions - i.e:
if a letter indicates an image and a 0 indicates none, and the grid is
A00
0B0
CD0
how could I make a panel look like such:
|A00
|0B0
|CD0
|
|

