Can somebody explain why I get this error:
Found 1 semantic error compiling
"E:/CourseWork/year3/project/code/test/NewIntersectInfoBehavior.java":
137. oldPos = (Point3d)pixelLocationInVWCoords.clone();
<----------------------------->
*** Error: Method "java.lang.Object clone();" in class
"javax/vecmath/Point3d"
has protected or default access. Therefore, it is not accessible in class
"NewIntersectInfoBehavior" which is in a different package.
This seems absurd to me. How am I supposed to make a copy of the object?
Surely as a subclass of Object I should be able to access its methods. Can
somebody suggest a way round this?
===========================================================================
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".