This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wrapping components in a FlowLayout

Don Kiddick
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this problem now. I have a JPanel in the SOUTH of a border layout. This panel has components in a FlowLayout. When the panel's width is changed and the number of rows in the FlowLayout changes, I want the panel's height to change appropriately so all the rows are displayed.
Anyone know how to do this, or to achieve a similar affect with a different combination of LayoutManagers ? I figure there should be a reasonably easy way.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic