• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Wrapping components in a container

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a container (applet or frame) that contains a main panel in it. I set the layout of the main panel to BorderLayout and add another panel to the SOUTH and a component/panel to the CENTER. The bottom panel has FlowLayout and I add several labels to it. When i display this, only some lables are displayed. What I want to so is to be able to wrap the labels in the bottom pane. Also, can I resize the top container so the preferredSize of the two panels ?
The code :

All help thoroughly appreciated.
Thanx.
reply
    Bookmark Topic Watch Topic
  • New Topic