kindy huang wrote:

I am trying to load x3d file using LoaderDemo which
comes with Xj3D, it works fine when run it as a
standalone program, I just replaced VRML97Loader with
X3DLoader. But when I modified it to a class extending
JPanel(instead of JFrame)and tried to use it in my
swing client- a j2ee client, the client cannot run
successfully.

Correct. Xj3D is not designed to run directly as an applet. It must be installed as a Standard Extension on the user's machine. In order to implement the VRML event model according to specification we have to do a lot of down and dirty stuff that is far outside the normal capabilities available to applets. We have an example online installer that is part of the CVS codebase and could help you out with more details if needed (I haven't written anything up because I'm a slacker!).

--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                              - Greg Bear, Slant
-------------------------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to