CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 1999
    Posts
    5

    Netscape hang me up

    Hi :
    I have a big probem now, I have put page with a applet into my website,
    the applet will connect to my server appliction when it starts in browser.
    It work perfectly in IE, but that is too bad in Netscape(4.6, 4.7), It will
    freeze the browser after runing several times. I have tried to solve this
    for a week , no way.
    Have you had some way to kill this trouble ?
    Any help would be appreciated.






  2. #2
    Join Date
    Sep 1999
    Location
    Dubai, UAE
    Posts
    38

    Re: Netscape hang me up

    Try changing the debug-Level of the Applet - u can do so from the Java Console - hopefully u should see some error messages there.

    To change the Debug-Level of the Applet, select Communicator->Tools->Java Console from the Navigator Menu. A window should open out. Press the 1 key to change the Debug level to 1, 2 to change the level to 2 etc. Check out if u happen to get any messages.

    Also, would be helpful if u can mention what exactly u developed ur Applet with. IDE, JDK version etc.

    Hope that helps,

    Rgds,

    R.Saravanan


  3. #3
    Join Date
    Oct 1999
    Posts
    5

    Re: Netscape hang me up

    I don't think that the Java Console will help me, because all Browsers and the java Console are frozn when Applet hang the browser. so at the time you can not switch to the java console and have a look ,what you can do is press "alt_ctrl_del" and delete the task, it will close the browsers and java console screen.


  4. #4
    Join Date
    Oct 1999
    Posts
    5

    Re: Netscape hang me up



    private static void recursiveRemoveAll(java.awt.Container con) { synchronized(con) {
    for(int i=0; i<con.countComponents(); ++i) {
    java.awt.Component c = con.getComponent(i);
    if(c instanceof java.awt.Container)
    recursiveRemoveAll((java.awt.Container)c);
    }
    con.removeAll();
    }
    }
    public void destroy() {
    recursiveRemoveAll(this);
    }

    I also have the same problem. I have already tried the above method in my applet , but fails, still freeze Netscape(4.6,4.7, win98).
    I have a frameset, in center frame I put in applets , in the other frame I put some buttons, by pressing the buttons , the applets run in the center frame in turns. start and close, after several minutes, the Netscape freeze.

    If you are kind enough to check my problem exactly ,Please try to
    come to my Web site " www.crowncitycasino.com" with Netscape.

    Thanks in advance.

    Tony Lu



  5. #5
    Join Date
    Sep 1999
    Location
    Dubai, UAE
    Posts
    38

    Re: Netscape hang me up

    "After running several times"

    Try the Java Console BEFORE it hangs ur m/c up. If u see some kind of error messages here itself, then don't try running it again. Try figuring out based on the message.

    And, some more details about what ur applet does would have been helpful.

    Rgds,
    RS


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured