Re: Applet xxxx notinited
reexana wrote:
URL : http://www.frontiernet.net/~imaging/morphing_animation.html
Yes, this pretty much backs up my earlier comment..
"* BTW - a bit of a Google suggests that web start
based launch of Java3D is quite doable, but that
applets might require Java3D installed locally,
before they can run."
I cannot view the applet and the error message shows that : Loading
Java Applet Failed
Why is that so?
Because either Java3D is not installed locally, or it
is installed in a different JRE to the one used by the
browser. (Is my best guess).
..
java.lang.NoClassDefFoundError: vrml/external/field/EventOutObserver
...
Any suggestion is appreciated.
Most Java3D apps. (both applications and applets)
are launched using web start.
If you wanted to experiemt with a web start launch,
you might try the file below as a basis for the launch
file.
Note that all resources for web start apps. need to
be Jar's, so I am assuming that you will put the three
classes in the directory of the server into a jar by the
name of 'morph.jar', in that same directory.
For the layout described above, this content, as
'morph3d.jnlp', located in the main directory (the
'codebase') should launch it on-screen.
Note that the missing classes should (AFAIU) be
includeded in the second JNLP referenced in this
one - the extension. The Java3D API can be got
directly from the deployers.
Here is the launch file..
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0"
codebase="http://www.frontiernet.net/~imaging"
href="morph3d.jnlp">
<information>
<title>Morph - Java 3D</title>
<vendor>Reexana</vendor>
</information>
<resources>
<j2se
href="http://java.sun.com/products/autodl/j2se"
version="1.5+"/>
<jar href="java/morph.jar"/>
<extension
href="https://j3d-webstart.dev.java.net/release/java3d-latest.jnlp"
name="Java3D extension (latest)"/>
</resources>
<applet-desc
documentBase="index.html"
name="morph"
main-class="MorphWithEAI"
width="400"
height="200">
<applet-desc>
</jnlp>
HTH
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200708/1