This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Help i need help with borderlayout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help i need help with borderlayout" Watch "Help i need help with borderlayout" New topic
Author

Help i need help with borderlayout

wes leon
Greenhorn

Joined: Jan 24, 2010
Posts: 1

i need all those buttons in the north but they over lap?
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
wes leon wrote:i need all those buttons in the north but they over lap?


Read the BorderLayout tutorial and you'll see why. Only one component should be placed in a Container's BorderLayout.NORTH position. If you want a bunch of buttons on the north side, put them in a JPanel(s) (using whatever layouts is/are necessary) and add that JPanel BorderLayout.NORTH.

for e.g.,
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Help i need help with borderlayout
 
It's not a secret anymore!