code: protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) {
          Shape s = shapeGenerator.createRoundRectangle(2, 0, width - 3, height - 2, CornerSize.FRAME_BORDER);
  
          getFrameBorderPaint(s);
  
          s = shapeGenerator.createRoundRectangle(3, 1, width - 5, height - 4, CornerSize.FRAME_INNER_HIGHLIGHT);
          g.setPaint(getFrameInnerHighlightPaint(s));
          g.fill(s);
  
          s = shapeGenerator.createRoundRectangle(4, 2, width - 7, height - 6, CornerSize.FRAME_INTERIOR);
          g.setPaint(getRootPaneInteriorPaint(s));
          g.fill(s);
      }
docs: {@inheritDoc}