-1

board image

the above is a board layout done by using gridbaglayout.

i would like insets of 5 pixels around the whole board but not between each label.

i scaned the api and havent come up with something that lets me do this.

does this mean i have to nest my board gui inside another gridbaglayout with the insets desired?

thank you.

iTEgg
  • 8,212
  • 20
  • 73
  • 107

1 Answers1

1

You could just add an empty border to the containing component

Guillaume
  • 14,306
  • 3
  • 43
  • 40