@Override
    public void paint(Graphics g) {

      if (isBanned()) {
        g.setColor(restrictedColor);

        // variant 1: full size cross
        g.drawLine(2, 2, getWidth() - 4, getHeight() - 4);
        g.drawLine(2, getHeight() - 4, getWidth() - 4, 2);

        // variant 2: smaller cross (left upper corner)
        // g.drawLine(1, 1, 8, 8);
        // g.drawLine(1, 8, 8, 1);

      }
      super.paint(g);
    }
@Override
    public void paint(Graphics g)