Adding a Title to a Border : Border « Swing JFC « Java
- Java
- Swing JFC
- Border
Adding a Title to a Border
import javax.swing.BorderFactory;
import javax.swing.border.TitledBorder;
public class Main {
public static void main(String[] argv) {
TitledBorder titledBorder = BorderFactory.createTitledBorder("Title");
}
}
Related examples in the same category