BorderLayoutPanel () { BorderLayoutPanel panel = new BorderLayoutPanel(); Border customLine = JBUI.Borders.customLine(JBUI.CurrentTheme.Banner.INFO_BACKGROUND, 1, 0, 1, 0); panel.setBorder(JBUI.Borders.merge(JBUI.Borders.empty(10), customLine, true)); panel.setBackground(JBUI.CurrentTheme.Banner.INFO_BACKGROUND); return panel; }