04-07-2014 01:52 PM
Hi, I'm trying to use <HTMLAppletElement> element in my WebWorks project, but I couldn't. Does anyone knows how to use it?
I found the element here, but there was no example.
This is part of my code:
<HTMLAppletElement type="application/x-java-applet" code="HelloWorld.class" alt="Nothing to show" />
Solved! Go to Solution.
04-09-2014 11:04 AM
04-09-2014 03:14 PM
Thank you for the reply.
I have tried <applet>, <HTMLAppletElement> and finally I end with <object> tag. But still I have a problem.
I'm using WebWorks version 2.0. I have tried the <object> tag, but it didn't work. I apply it to my device Q10 Blackberry 10.2.1, but it doesn't show anything.
I have tried to use the <object> tag with the normal browser, IE11 and Firefox 28. It seems it will work! The java plugin is loading ... but suddenly it shows me this massege:
"Application Blocked. Click for details
Your security settings have blocked a local application from running"
I want to ask you, what are the mandatory attributes in the <object> tag?
04-11-2014 02:24 PM
I can't speak much for other browser, but I've been digging more into the WebWorks/BlackBerry 10 side of things and I had an oversight earlier.
In order for the <object> element to be able to run a Java Applet, the Java Runtime must be present on the OS; which it is not present on BlackBerry 10. While we support the <object> element in a number of avenues, running Java Applets will not be one of them due to the missing runtime.
On your desktop browsers, where you have the Java Runtime installed, it sounds like there may be some security setting on the browser you'll need to set to allow Java to run, but I'm not sure specifically where that is.