@Override
  protected void paintComponent(final Graphics g) {
    if (getParent() == null) return;

    int gap = JBUIScale.scale(2);
    int center = JBUIScale.scale(3);
    g.setColor(JBUI.CurrentTheme.CustomFrameDecorations.separatorForeground());
    int y2 = getHeight() - gap * 2;
    LinePainter2D.paint((Graphics2D)g, center, gap, center, y2);
  }
@Override
  protected void paintComponent(final Graphics g)