SeparatorWithText () { Insets labelInsets = ExperimentalUI.isNewUI() ? JBUI.CurrentTheme.Popup.separatorLabelInsets() : getDefaultItemComponentBorder().getBorderInsets(new JLabel()); return new GroupHeaderSeparator(labelInsets); }