Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I add another text box under this layout?

 
GregK
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I'm using a border layout for the whole GUI (while using grid layouts for some of the parts as you can see), but I'd like to know how I could add another text box under the buttons labelled North, South, East, West. I've already assigned this menu to 'South' in the border Layout.



I'd just like to know the best way of doing this. (The South pane with the N,S,E,W buttons is a border layout too).

Thanks for any help
[ March 23, 2006: Message edited by: Gregory Kodikara ]
 
Ben Zung
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must have had

Instead

HTH.
 
ak pillai
author
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As mentioned bfore Have multiple JPanels and you can use different layout managers in your each JPanel. This approach gives you more flexibility.
 
GregK
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I sort of have that working, can someone help me make a menu bar above the layout though? I'm not having any luck, I;ve initialised the menu options but have nothing...
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here's a simple demo

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic