This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes GridBag radio button elements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "GridBag radio button elements" Watch "GridBag radio button elements" New topic
Author

GridBag radio button elements

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
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

Joined: Jan 14, 2004
Posts: 1535
... redesign of the entire window ...
Sometimes this is a good thing.
Placing the parent container (of the JRadioButtons) in a JScrollPane is another option.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: GridBag radio button elements
 
It's not a secret anymore!