blob: be2116a92a5df979cf8f49623e8face4d535d328 (
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 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 columns
* The number of columns in this layout.
*/
public HLayout(int columns) {
super(1, columns);
}
}
|