Swing question: Making a visual tic tac toe
This is a two part question.
First, im planning on making 9 objects on the form, and the user clicks on the object and it either shows an "X" or "O" depending on which players turn it is.
Now the obvious type of object i think is best to use is a JLabel. is this correct?
And my second questions is:
If i do use JLabels, how do i set the JLabels to a certain height and width so that they resemble a box shape
note to self http://www.thestudentroom.co.uk/show....php?t=1198718
Which type of layout manager?
ill ask the question here to safe making a new thread.
in the below picture
im assuming there is two JPanels in a frame. I can see the bottom JPanel would use the flowLayout type for the buttons, but what type of layout manager would you use the JPanel above that?