blob: 9c6feefed508b7cc7f3ead863ecefcc1127faff4 (
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
28
|
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(String title) {
super(new EtchedBorder(), title);
}
}
|