Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Layout Managers  RSS feed

 
John Kirvan
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I wanted to use 2 layout managers inside one frame how might I do that.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the (J)Frame is a BorderLayout by default
you can change this to any layout you want
you can add (J)Panels to each section of the 'specified' layout of the (J)Frame

each (J)Panel is a FlowLayout by default
you can change this to any layout you want
you can add (J)Panels to each section of the 'specified' layout of the (J)Panel

each (J)Panel is a FlowLayout by default
you can change this to any layout you want
you can add (J)Panels to each section of the 'specified' layout of the (J)Panel

etc etc
 
Marilyn de Queiroz
Sheriff
Posts: 9079
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not post the same question in more than one forum. Thanks. I'm moving this to the Swing/AWT forum (where the other two times you asked this question already have responses also).
[ February 27, 2005: Message edited by: Marilyn de Queiroz ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The other two threads that Marilyn referred to:
  • one
  • two
  •  
    Don't get me started about those stupid light bulbs.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!