Mona Wong-Barnum wrote:

       I'm getting the following runtime error:

javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to get
appearance
       at javax.media.j3d.Shape3D.getAppearance(Shape3D.java:487)
       at
com.sun.j3d.utils.geometry.Primitive.getAppearance(Primitive.java:185)
       at SynuGUI$SynuTableModel.setValueAt(SynuGUI.java:792)


       But I *did* set the capability:

       shape = new Sphere ( radius, createAppearance ( color ) );
       shape.setCapability ( Sphere.ENABLE_APPEARANCE_MODIFY );


Use
Shape3D.ALLOW_APPEARANCE_READ instead.

       I'm using Java 3D 1.3.

       Any suggestion is appreciated.



- Kelvin
-------------
Java 3D Team
Sun Microsystems Inc.

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