public void destroy ()
Destroys the window system resources associated with this and decrements this 's reference count.
The window system resources for all children of this are also destroyed, but the children’s reference counts are not decremented.
Note that a window will not be destroyed automatically when its reference count reaches zero. You must call this function yourself before that happens.