Hi,

I wanted to clone a scenegraph by using the cloneTree() methods of the
Node-class.
clonetree() itsself uses the cloneNode() method of the Node-class.

In the documentation I can read that
"cloneNode should be overridden by any user subclassed objects. All
subclasses must have their cloneNode..." (see the documetation of the
Node class).

During runtime my program runs into a java.lang.RuntimeException when
trying to execute cloneNode() on nodes of type
com.sun.j3d.utils.behaviors.mouse.MouseRotate,
com.sun.j3d.utils.behaviors.mouse.MouseZoom and
com.sun.j3d.utils.behaviors.mouse.MouseTranslate.

I found out that the method cloneNode() is not defined for these types
of node.
In this sense the implemetation of these nodes seems to be incomplete or
not?

Is there a work around or do I have to subclass these MouseBehaviors for
the only purpose to implement the cloneNode()-method?

Peter Rohleder

--
  Peter Rohleder,          mailto:[EMAIL PROTECTED]
  Fraunhofer Institut fuer Angewandte Informationstechnik FIT
  Schloss Birlinghoven, D-53754 Sankt Augustin, Germany
  Tel.: +49-2241-142208;           FAX: +49-2241-142065

===========================================================================
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