mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
added titled border factory with indent and without insets
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user