*
The moose likes Swing / AWT / SWT and the fly likes Layout manager problem (horizontal & vertical boxes) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Layout manager problem (horizontal & vertical boxes)" Watch "Layout manager problem (horizontal & vertical boxes)" New topic
Author

Layout manager problem (horizontal & vertical boxes)

David Johnson
Greenhorn

Joined: Mar 27, 2005
Posts: 1
The code below produces the following inside one horizontal (master)box: A horizontal box containing a JComboBox, a JFormattedTextField, a JLabel, and a vertical box containing 4 JCheckBoxes.

My problem: The four items contained in the horizontal box are stretched vertically no matter what I do. I'd like to be able to control the vertical size.

Additionally, if anyone can point out a better way of doing this, I'm all ears. I'm certain that there must be a better way of doing this.

Thank you very much.


[ March 27, 2005: Message edited by: David Johnson ]
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout manager problem (horizontal & vertical boxes)
 
Similar Threads
JOptionPane Timeout
FlowLayout Display Problems
BoxLayout not working as advertised?
Show JPanel in another class HELP !!!!
New Approach to GridLayout problem, but still having compiling problems