wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes which layout manager to use for this purpose? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "which layout manager to use for this purpose?" Watch "which layout manager to use for this purpose?" New topic
Author

which layout manager to use for this purpose?

Martin Meinke
Greenhorn

Joined: Mar 31, 2012
Posts: 1
Hello,

I'am currently trying to create a simple 2column layout.
I want the right column to have a fixed width whereas the left column should resize according to the whole Frame.

Thanks a lot!
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
default layoutManager for JFrame is BorderLayout,
which is what you want.

fixed column in borderlayout.EAST
other column in borderlayout.CENTER
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: which layout manager to use for this purpose?
 
Similar Threads
How to specify a variable width column in an HTML page?
problem in GridBagLayout
How to achieve this markup
screen resolution
layout and multibrowser hell