@Override
    public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
      if (checkError(c)) {
        errorDelegateBorder.paintBorder(c, g, x, y, width, height);
      }
    }
@Override
    public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)