This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark ""Start: Applet Not Initialised" message i got when execute the applet thro browser" Watch ""Start: Applet Not Initialised" message i got when execute the applet thro browser" New topic
Author

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

Elanchezhiyan Ka
Greenhorn

Joined: Sep 20, 2010
Posts: 3

// in html
<applet code="applet.class" height=400 width=1000></applet>
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41151
    
  45
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.


Ping & DNS - my free Android networking tools app
Elanchezhiyan Ka
Greenhorn

Joined: Sep 20, 2010
Posts: 3
After removing the line "import objectdraw.*;" i got the same problem.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

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?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Start: Applet Not Initialised" message i got when execute the applet thro browser
 
Similar Threads
"Start: Applet is not initialized" error when accessing applet file through web browser
how to stop japplet
ArrayIndex OutOfBoundsException?
How to initialize an Array in this occasion?
how to add background image to japplet