• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which layout manager to use for this purpose?

 
Martin Meinke
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
default layoutManager for JFrame is BorderLayout,
which is what you want.

fixed column in borderlayout.EAST
other column in borderlayout.CENTER
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic