aspose file tools*
The moose likes Applets and the fly likes APLLET NOT INITIALISED Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "APLLET NOT INITIALISED" Watch "APLLET NOT INITIALISED" New topic
Author

APLLET NOT INITIALISED

hi friends
Greenhorn

Joined: Mar 10, 2009
Posts: 2
I am on java2 and having done ''creating menu bar" and 'dialog boxes', I am held up at my first applet.
Here is the code I have written





HTML CODE:


<html>
<body>
<applet code=SampleDialog.class width=300 height=300>
</applet>
</body>
</html>



when i run the code there is no error and when i make applet viewer to run..at the bottom left corner "start:applet not initialised" is displayed.


please anyone help me to solve this !!!

thank you in advance
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

"Hi friends",
Welcome to the Ranch

On your way in, looks like you missed out on our naming policy which says, display names should not be obviously fictitious. Could you please adjust your screen name to comply to the same? (just click on the "my profile" link at the top of this page).

To get the most out of the ranch, you might want to read http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch which contains several tips such as using code tags. I have edited your original post and as you can see the code is much better formatted and easier to read.

I am also moving your post to a more appropriate forum. As you know, we have several forums here, and it is advisable to post in the proper forum.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

What errors are you getting on the java console when you get "applet not initialsed"?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
The "code" attribute needs to point to the class extending the Applet class.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: APLLET NOT INITIALISED