This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Hi, 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. D.