summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/gui/layout/VLayout.java
blob: 953e522b416d712b93d65a54dbbd605bd3f9dfc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 {
	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);
	}
}