1

Instead of a JTable, how about just a load of JLabels in a GridLayout? Keep a JLabel[][] array of refs to them so you can easily set their text from your char array.

Votes + Comments
GOOGLE TIME! Thanks man, you're a saint.
0

Should I do that directly in main or should I right click my project and add a new JFrame form?
I find the JFrame form sort of complicated. :S

0

First I would use a JPanel to hold the grid of JLabels, so I can deal with the whole grid as a single unit. Then I'd place that JPanel in a JFrame along with whatever buttons etc the game needs.
Yes, add a new JFrame class, don't try to add all that stuff into your main game class or it will be ludicrously big. You may find it easier to ignore your GUI builder for now and just write the code yourself.

Edited by JamesCherrill

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.