VerticalLayout is a layout manager that arranges components vertically as opposed to horizontally. The Swing BoxLayout also does vertical layouts but components will often be expanded when you don't want them to be. VerticalLayout doesn't try to expand components to fit the display area although it can be told to expand components horizontally to fill the available space. VerticalLayout is has no restriction that each component be the same size.
|File Size||12.2 kB|