blob: fdae31eb292a874b711578ccf25ecc4c71c24a03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package bjc.utils.gui.layout;
import java.awt.GridLayout;
/**
* A layout that lays out its components vertically, evenly sharing space among
* them.
*
* @author ben
*
*/
public class VLayout extends GridLayout {
// Version ID for serializations
private static final long serialVersionUID = -6417962941602322663L;
/**
* Create a new vertical layout with the specified number of rows.
*
* @param rows
* The number of rows.
*/
public VLayout(int rows) {
super(rows, 1);
}
}
|