question: public void killWindow ( ) { ComponentEvent ce = null ; if ( display != null ) { ce = display . kill ( ) ; } if ( ce != null ) { componentHidden ( ce ) ; } }
target:  Set the window to be hidden and fire a ComponentEvent for COMPONENT_HIDDEN. Normally, just setting the visibility of the window would be enough, but we're running into that problem we had with the layers not firing ComponentEvents when hidden. This method calls componentHidden, which in turn calls cleanUp.