By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

Applet notinited

P: 58
Hi all,

Am new to java.I want to play avi file.For that i got code in java.But now i want to call java applet in html.I tried for that but it shows "Applet notiniited" .Anybody tell me to overcome this problem.
Dec 5 '06 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,510
Hi all,

Am new to java.I want to play avi file.For that i got code in java.But now i want to call java applet in html.I tried for that but it shows "Applet notiniited" .Anybody tell me to overcome this problem.
have a look at the Sun tutorial on applets it may help
http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
Dec 5 '06 #2

P: 58
have a look at the Sun tutorial on applets it may help
http://java.sun.com/docs/books/tutorial/deployment/applet/index.html
Problem I face:

I had a media player program in java , i want to run that program in Mozilla. For i wrote a JSP program and tag a plugin/embed/object for example

1:
<jsp:plugin type="applet" code="Clock2.class"
codebase="applet" jreversion="1.2" width="160" height="150" >
<jsp:fallback>
Plugin tag OBJECT or EMBED not supported by browser.
</jsp:fallback>
</jsp:plugin>

2:
<object
classid =" clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase ="
http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Versio..."
WIDTH = 120 HEIGHT = 120 >
<param NAME = CODE VALUE = TicTacToe.class >
<param NAME =" type" VALUE ="
application/x-java-applet;version=1.4">
<param NAME =" scriptable" VALUE =" false">

<COMMENT>
<embed
type =" application/x-java-applet;version=1.4" \
CODE = TicTacToe.class \
WIDTH = 120 \
HEIGHT = 120 \
scriptable = false \
pluginspage ="
http://java.sun.com/products/plugin/index.html#download">
<noembed>
alt="Your browser understands the &lt;APPLET&gt; tag but
isn't running the applet, for some reason."
Your browser is completely ignoring the &lt;APPLET&gt; tag!
</noembed>

</embed>
</COMMENT>
</object>

When i run this program i got Red X image displayed where the applet
should be But Applets won't run .

For your clarity below i mentioned the link . I got the same image which is apper in that and i had i gone through the solution mentioned in it but no use .

" http://www.java.com/en/download/help/5000040200.xml "
Please check it once the above link. I had download jmf also.
Kindly give me suggestion for my error.Thank you.
-Raju
Dec 5 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.