summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/gui/SimpleTitledBorder.java
blob: 81b0579dbd664edfa242f37db2fbeb81b52fc9a1 (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;

import javax.swing.border.EtchedBorder;
import javax.swing.border.TitledBorder;

/**
 * A simple border with a title attached to it.
 *
 * @author ben
 *
 */
public class SimpleTitledBorder extends TitledBorder {
	// Version ID for serialization
	private static final long serialVersionUID = -5655969079949148487L;

	/**
	 * Create a new border with the specified title.
	 *
	 * @param title
	 *              The title for the border.
	 */
	public SimpleTitledBorder(final String title) {
		super(new EtchedBorder(), title);
	}
}