File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can i add multiple component in BorderLayout in SOUTH

 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear sir i would like to know that as we add any component in contaner with BorderLayout then each component will arranged in SOUTH,NORTH,EAST, WEST and CENTER.

But i am watching that only one component are added in each area But if i want to add more that one component in SOUTH NORTH etc then what i have to do.

I mean can i add multile component in single zone like SOUTH.


Regard

Arun
 
Chulwoo Choi
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add a Panel first and then, add components to the Panel.
For example, you can add a Panel to the SOUTH area and inside that panel, you can add Buttons, Labels, etc.

Chulwoo
 
Arun Maalik
Ranch Hand
Posts: 216
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arun, please in future, ask non-SCJD specific questions in the appropriate forum - in this case our Swing forum.

We have forums for Swing, Threads, Java In General (Intermediate, Advanced), IDE's, whatever.
[ December 08, 2006: Message edited by: Barry Gaunt ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic