@Override
  public void paint(final Graphics g, final JComponent c) {
    Graphics2D g2d = (Graphics2D) g.create();
    Rectangle r = new Rectangle(c.getSize());
    try {
      g2d.setColor(getBackground());
      g2d.fill(r);

      if (!ExperimentalUI.isNewUI()) {
        g2d.setColor(JBUI.CurrentTheme.StatusBar.BORDER_COLOR);
        RectanglePainter2D.FILL.paint(g2d, r.x, r.y, r.width, BORDER_WIDTH.get());
      }
    }
    finally {
      g2d.dispose();
    }
  }
@Override
  public void paint(final Graphics g, final JComponent c)