wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How can I add another text box under this layout? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How can I add another text box under this layout?" Watch "How can I add another text box under this layout?" New topic
Author

How can I add another text box under this layout?

GregK
Greenhorn

Joined: Oct 24, 2005
Posts: 15
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

Joined: Mar 25, 2004
Posts: 109
You must have had

Instead

HTH.
ak pillai
author
Ranch Hand

Joined: Feb 11, 2006
Posts: 288
As mentioned bfore Have multiple JPanels and you can use different layout managers in your each JPanel. This approach gives you more flexibility.


java j2ee job interview questions with answers | Learn the core concepts and the key areas
GregK
Greenhorn

Joined: Oct 24, 2005
Posts: 15
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

Joined: Jun 09, 2003
Posts: 4632
here's a simple demo

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I add another text box under this layout?
 
Similar Threads
Help on using layout manager
Adding padding to GUI components
Layout issue
Linking Buttons and Textbox
which layout manager to use