Hi folks

Ive written a sub class to BranchGroup (Bar) and subclassed it again (called Foo here) 
and Overridden the cloneNode method as required by the documentation in both classes 
however I still get this message.

java.lang.RuntimeException cloneNode must be defined in subclass

The code recieves the object, Checks for instance of Foo and then bombs out
when it trys to clone Foo.
 if(object instanceof Foo)
 {
    transformGroup.addChild((Foo)((Foo)object).cloneTree(false));
 }

is there a trick some where, Or am i tricking myself?

Kind Regards
Adrian

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