Re: embed .jar files
Pasquale wrote:
I have never embedded java files into html pages,
...
A quick search on jad file indicates to me that it is more for
packaging applications for mobile phones. Is that you market?
Their market is delivering advertisements, video commercials, etc to
PDAs and such within range.
J2ME deployment is not my area of expertise.
You should be interested more in the JAd files
for that, AFAIU.
..but ask that colleague to send you the (damn)
documentation as well.
So I have attempted to use the below without success. The status bar
states Applet Main notinited.
There is a method important to Java applications
(as opposed to applets) called 'main()' and a lot of
programmers who have no imagination also call the
class that has a main() method, Main.
It might also be a combined applet/application
(which makes the name worse).
<APPLET code="Main" archive="Z3.jar" width="176" height="184">
Is that class in the root of the Jar file, or a
subdirectory? A class that is in (e.g.)
com/our/Main.class should be referred to
as com.our.Main
It is not necessary to repeat attributes from
above, here..
<PARAM name="code" value="Main">
<PARAM name="archive" value="Z3.jar">
<PARAM name="width" value="176">
<PARAM name="height" value="184">
..it simply needs the closing tag, like you have here.
</APPLET>
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200706/1