windowclosing

Q about Java WindowListener

If you have a WindowListener, will a windowDeactivated(WindowEvent) event always occur whenever a window is closed, or is it possible for a windowClosing(WindowEvent) to occur without a windowDeactivated(WindowEvent) occurring. That is, is window deactivation a part of window closing? Finally, will a windowClosed(WindowEvent) always (n...

How to change security configutarion in IE8 for Intranet pages, such that Javascript can close a Window without asking?

I am developing a system that uses a little Internet page as a front-end for the whole program. Since I need to use ActiveX (sigh), the page must work on Internet Explorer. However, after some actions have been done the page needs to close itself. Using window.close() on Javascript it works, but before closing it prompts the user if it ...