blob: 83b37935a90b801c35493b5e16979334bb065984 (
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 manager that lays out its components horizontally, evenly
* sizing them.
*
* @author ben
*
*/
public class HLayout extends GridLayout {
/**
* Version id for serialization
*/
private static final long serialVersionUID = 1244964456966270026L;
/**
* Create a new horizontal layout with the specified number of columns.
*
* @param cols
* The number of columns in this layout.
*/
public HLayout(int cols) {
super(1, cols);
}
}
|