1

I want to place a game board in JPanel and i'm using GridLayout 10x10 In addition i want to place additional labels on the same JPanel but not inside the grid.

When i'm adding this labels they are automatically added to the grid despite the fact that i fixed the size.

To summarize: How can i arrange in the same JPanel with grid layout a fixed board with labels and additional labels in the left area of the plane. enter image description here

alonp
  • 1,307
  • 2
  • 10
  • 22

1 Answers1

3

Why not two panels, one with a GridBaglayout and another one with a BoxLayout enclosed in a panel with GridLayout? :))

COD3BOY
  • 11,964
  • 1
  • 38
  • 56