Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GUI help

 
Benjamin Benington
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am designing my first GUI using the Gridbaglayout. I have a content panels called "Shipping Method" with two radio buttons, Ground and Air Express. i have the two radio buttons spaced out properly. I was wondering how I can get the space between the 'ground' radio button and the border of the content panel to decrease? Like there is alot of empty space between the 'Ground' radio button the border surrounding my content panel called "Shipping Method" on both the top and bottom. I tried playing around with the insets, but I could not get it to work. Any help would be appreciated. My code is below (I HAVE to use gridbaglayout)




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic