Applet can't init:New error


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Applet can't init:New error

  1. #1
    rsmed Guest

    Applet can't init:New error


    I'm trying to run a java applet.
    It works great in IE 5.0 but when trying to load it in Netscape 4.7, I get
    this error: Applet "appletname" Can't Init: New

    Why does it work in IE 5.0 but not Navigator 4.7?

  2. #2
    Rocco Balsamo Guest

    Re: Applet can't init:New error

    Because netscape stinks.

    No really, I had this problem before. IE's java sometimes lets things slide,
    that might officially be java errors, however it will usually print an error
    message on the console.

    Go to your internet options in IE 5.0 and set the browser to have an option
    for java console. Next find the "view java console" under one of the menus.

    View the console, and it might give you an error like "Window: null parent
    frame" (that's the error I got). If you see something like this, it is most
    likely what causes the applet not to work with netscape. This particular
    error occurs if you make a dialog box, and set the parent frame to null.

    Just some ideas anyway...

    rsmed wrote:

    > I'm trying to run a java applet.
    > It works great in IE 5.0 but when trying to load it in Netscape 4.7, I get
    > this error: Applet "appletname" Can't Init: New
    >
    > Why does it work in IE 5.0 but not Navigator 4.7?



  3. #3
    Bavo Bruylandt Guest

    Re: Applet can't init:New error


    Got to agree on this one. If something works in the appletviewer, it works
    most of the time in IE, but rarely in NS when running it locally. Testing
    it on a server most of the time clears all errors.


    Rocco Balsamo <balsar@rpi.edu> wrote:
    >Because netscape stinks.
    >
    >No really, I had this problem before. IE's java sometimes lets things slide,
    >that might officially be java errors, however it will usually print an error
    >message on the console.
    >
    >Go to your internet options in IE 5.0 and set the browser to have an option
    >for java console. Next find the "view java console" under one of the menus.
    >
    >View the console, and it might give you an error like "Window: null parent
    >frame" (that's the error I got). If you see something like this, it is

    most
    >likely what causes the applet not to work with netscape. This particular
    >error occurs if you make a dialog box, and set the parent frame to null.
    >
    >Just some ideas anyway...
    >
    >rsmed wrote:
    >
    >> I'm trying to run a java applet.
    >> It works great in IE 5.0 but when trying to load it in Netscape 4.7, I

    get
    >> this error: Applet "appletname" Can't Init: New
    >>
    >> Why does it work in IE 5.0 but not Navigator 4.7?

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center