@Override
  protected void paintComponent(Graphics g) {
    int corner = JBUIScale.scale(14);
    int ovalWidth = getOvalWidth();
    int ovalHeight = getOvalHeight();
    int width = getWidth();
    int height = getHeight();

    GraphicsConfig config = GraphicsUtil.setupAAPainting(g);

    if (isOpaque()) {
      g.setColor(getBackground());
      g.fillRect(0, 0, width, height);
    }

    g.setColor(myOvalColor);
    g.fillRoundRect(getTextOffset() + (width - ovalWidth) / 2, (height - ovalHeight) / 2, ovalWidth, ovalHeight, corner, corner);

    config.restore();

    super.paintComponent(g);
  }
@Override
  protected void paintComponent(Graphics g)