blob: bddb56475602b1fef208dcd98d7649d0521d41e2 (
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);
}
}
|