Need help with a java applet that is not displaying in HTML5. Every time I test
ID: 3739309 • Letter: N
Question
Need help with a java applet that is not displaying in HTML5. Every time I test it in the browser it does not display. Am I missing anything or doing something wrong? Please help, thank you
Here is the HTML:
<object type="application/x-java-applet" width="250" height="250">
<param name="code" value="CreditRoll.class" />
<param name="fontsize" value="12" />
<param name="bgcolor" value="A27029" />
<param name="textcolor" value="FFFFFF" />
<param name="speed" value="100" />
<param name="vspace" value="3" />
<param name="fadezone" value="20" />
<param name="repeat" value="yes" />
<param name="text1" value="Mick" />
<param name="text2" value="Charlie" />
<param name="text3" value="Ronnie" />
<param name="text4" value="Keith" />
</ object>
Explanation / Answer
Coming To your problem , i would like to suggest you Applet is old technology and it is got Deprecate in HTML5 and in Java 9 , Applets are deprecated also.Oracle has stopped and supporting java Brower plug in. But You can you Object tag instead .
But as Per Oracle documentation.
You should Use the applet tag if web page is accessed through the internet
And Use object and embed tag if web page is accessed through intranet
So in internet it may not work.
Even Oracle Documentation Suggest for Deploying applet in Specific Brower.
In case of Internet Explorer ,you should only Use object Tag.
For Mozila brower family use the embed tag.
in case of any doubt and query, Please let me know in comments, i will be happy to help you thanks.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.