• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Start: Applet Not Initialised" message i got when execute the applet thro browser

 
Elanchezhiyan Ka
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

// in html
<applet code="applet.class" height=400 width=1000></applet>
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There should be an error message in the Java Console; what is it?

The most likely reason is that the "objectdraw" package is not in the classpath; you need an archive attribute for it in the APPLET tag.
 
Elanchezhiyan Ka
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After removing the line "import objectdraw.*;" i got the same problem.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:There should be an error message in the Java Console; what is it?

Randomly taking out some import statements is not going to help you. Did you follow Ulf's suggestion and check the console for the error message? Can you share it with us?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic