Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

size of one button is less than expected in GridBagLayout

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to learn GridBagLayout so I create the following test program.
Why the width and height of button1 is not 7 times of button2 and button3?


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic