File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • 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
  • 0
  • 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: 2399
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic