BoxLayoutDemo 7.0
Download
Free   9.5 KB

BoxLayoutDemo 7.0

Free BoxLayout arranges components either on top of each other or in a row
Rating
Your vote:
Latest version:
7.0 See all
Developer:
Screenshots
1 / 2
Download
Free   9.5 KB

BoxLayout arranges components either on top of each other or in a row. As the box layout arranges components, it takes the components' alignments and minimum, preferred, and maximum sizes into account. The same concepts apply to left-to-right or right-to-left layout. You simply substitute X for Y, height for width, and so on. When a BoxLayout lays out components from top to bottom, it tries to size each component at the component's preferred height. If the vertical space of the layout does not match the sum of the preferred heights, then BoxLayout tries to resize the components to fill the space. The components either grow or shrink to fill the space, with BoxLayout honoring the minimum and maximum sizes of each of the components. Any extra space appears at the bottom of the container.

Comments

User

Your vote: