@Override
  protected void paintChildren(Graphics g) {
    super.paintChildren(g);

    if (isBorderOverComponents()) {
      paintBorderAllowed = true;
      paintBorder(g);
    }
  }
@Override
  protected void paintChildren(Graphics g)