Why sometime the form is black, and I see nothing?

Hi,
I start to program with the redbook. But I get a complete dark form when I try the stencil.c. And the form just zombied.Why this?