added titled border factory with indent and without insets

This commit is contained in:
Evgeny Zakrevsky
2012-07-26 21:03:33 +04:00
parent f74b496a52
commit a7061c61bc
@@ -136,4 +136,17 @@ public class IdeBorderFactory {
}
}
public static class PlainSmallWithIndentWithoutInsets {
private PlainSmallWithIndentWithoutInsets() {
}
public static TitledBorder createTitledBorder(Border border,
String title,
int titleJustification,
int titlePosition,
Font titleFont,
Color titleColor) {
return IdeBorderFactory.createTitledBorder(title, true, new Insets(TITLED_BORDER_TOP_INSET,0,0,0));
}
}
}