blob: 23ab61edb32c86372af9b2f750b2521428d02ddd (
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
26
27
|
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 serialization
*/
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);
}
}
|