public static void applyPreviewTitleInsets(JComponent title) {
    if (ExperimentalUI.isNewUI()) {
      title.setBorder(JBUI.Borders.empty(10, 20, 6, 0));
    }
    else {
      title.setBorder(JBUI.Borders.empty(3, 8, 4, 8));
    }
  }
public static void applyPreviewTitleInsets(JComponent title)