summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleTitledBorder.java
blob: aa195666cb24f4045ee4653eb28123c4d75b4831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 {
	private static final long serialVersionUID = -5655969079949148487L;

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

}