comment out swingadvancedwindowclosing