displaying multiple grids in a window
Hi all,
I have accepted certain integer values into a 3-D array. Each 2-D array is basically a grid of cells, and there are say 'n' 2-D arrays in my 3-D array. After accepting data from the user, and storing it in the 2-D array, I now need to display the 3-D array in a window.
To make it clearer, I need to display all 'n' 2-D arrays in a window while the program is running simultaneously so the user can view his input.
It may be like multiple images on a JScrollPane, I'm just guessing, I don't know, I'm new to Java, and haven't really tried everything. The grids are not images, I have displayed them using paintComponent and fillRect.
Some help will be appreciated!