You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Widget embedding Java Applet
Hello,I have problems getting my JavaApplet to run inside an Opera Widget. While support for Java should be enabled by adding some code to the config.xml (http://media.assembly.org/asm06/opera-widgets/), my applet is not loaded.
My config.xml currently looks like this:
<?xml version="1.0" encoding="utf-8"?>
<widget network="public" defaultmode="application">
<widgetname>Widget</widgetname>
<description>Java Widget</description>
<icon>icon.png</icon>
<width>600</width>
<height>480</height>
<author>
<name>fr3style</name>
</author>
<security>
<access>
<port>80</port>
<port>5222</port>
</access>
<content java="yes" plugin="yes">
</content>
</security>
</widget>
I am including the applet in my index.html with these lines:
<object name="clientapp" classid="java:ClientApplet.class"
archive="./dist/JabberClient.jar,./dist/lib/smack.jar,./dist/lib/smackx.jar"
width="120" height="100">
<param name="code" value="ClientApplet" />
<param name="archive"
value="./dist/JabberClient.jar,./dist/lib/smack.jar,./dist/lib/smackx.jar" />
No Java!
</object>
This produces the text saying "No Java!". I also tried the APPLET tag to embed my applet, wich only gave me some blank space. When I run the index.html outside the widget environment, the applet shows up fine.
Can anybody tell me how to turn on java applet support? I am using ubuntu 10.04 and Opera 10.61.
Forums » Dev.Opera » Archived Opera Widgets Development Discussions