This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

GridBag radio button elements

 
Mary Taylor
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What should I look at when trying to add another radio button to a panel in a GridBag layout? The screen is not allowed to grow; and, as it is now, adding another radio button causes vital information to disappear off the bottom of the screen.

I'm faced with a redesign of the entire window or causing these radio buttons to be closer together vertically. The Insets currently are (0,0,0,0) .

Thanks for suggestions as to approaches I might take for this.
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... redesign of the entire window ...
Sometimes this is a good thing.
Placing the parent container (of the JRadioButtons) in a JScrollPane is another option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic