public static TitledSeparator createSeparator(@NlsContexts.Separator String text, @Nullable JComponent labelFor) {
    return new TitledSeparator(text, labelFor);
  }
public static TitledSeparator createSeparator(@NlsContexts.Separator String text, @Nullable JComponent labelFor)