@Override
    protected void paintComponent(Graphics g) {
      super.paintComponent(g);
      if (!myShowSelection) {
        return;
      }

      Graphics2D g2 = (Graphics2D)g.create();

      try {
        g2.setColor(JBUI.CurrentTheme.Editor.Tooltip.SELECTION_BACKGROUND);
        GraphicsUtil.setupAAPainting(g2);
        int arc = JBUI.scale(8);
        g2.fillRoundRect(0, 0, getWidth(), getHeight(), arc, arc);
      }
      finally {
        g2.dispose();
      }
    }
@Override
    protected void paintComponent(Graphics g)