> You need to check which nsIWebProgress the notification is for. > > -Boris
Boris, thanks for your response.. I did search this forum for similar requests. I looked at your solution for : http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/52cd5cbc889aa5b/d9cde1a73a8def2b?lnk=gst&q=DocumentLoaded%28%29+called+multiple+times+#d9cde1a73a8def2b I copied the code from WebBrowserChrome::onStateChange(), nsIDOMWindow window = webProgress.getDOMWindow(); nsIDOMWindow window2 = _webBrowser.getContentDOMWindow(); /** SameCOMIdentity(progressWindow, contentWin) */ if(window2 == window) { System.err.println("NETWORK STOPPED"); } else { System.err.println("I DONT CARE"); } Question 1: When "NETWORK STOPPED" is printed out, can I assume that all frames have been loaded? I see a lot of state transitions after this.. So, that's why I am confused. Question 2: in WebBrowserChrome, I saw "SameCOMindentity".. Is there a similar utility in Java interface? _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding