• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does Applet notininted mean and how do I fix this problem?

 
Clark Johnson
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to open the HTML file containing the applet, using either IE or Firefox, I get an Applet notinited message.The program I am trying to convert into an applet uses BufferedReaders and BufferedWriters.

Is this I/O functionality what's keeping this program from working as an applet? If that's not the problem, what else could be wrong?
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally speaking, file I/O is not something you do with an applet.

Depending upon your browser, there will be a way to view the Java console. This console will contain a stack trace that tells you the problem.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Applet notinited" generally occurs if an exception happens in the static initializer or the init method. As was suggested, check the Java Console for error messages.

And yes, to do any file I/O the applet needs to be signed or the local security policy altered. For more information see the HowCanAnAppletReadFilesOnTheLocalFileSystem FAQ page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic