Windowing | 75
TIP
If you find yourself confronted with an application that
doesn’t shut down, but whose visible windows are all
closed, then you’re probably dealing with one of a few
different challenges. The first is that you never set a size
on aNativeWindow. The second is that you never set a
NativeWindowto visible. The most common is that you
used NativeWindowSystemChrome.NONE, but never added
any content.