Hi there,
I have displayed a Cone with:
Cone cone = new Cone(); 
 
and then tried to allow modification of its appearance with both:
cone.setCapability(Primitive.ENABLE_APPEARANCE_MODIFY);  and
cone.setPrimitiveFlags(Primitive.ENABLE_APPEARANCE_MODIFY);
 
(I'm not sure which one of these is appropriate)
 
but when I call cone.getAppearance() or cone.setAppearance() I get an error at runtime that says CapabilityNotSetException.
 
If anyone can help me it would be much appreciated.
 
Dave.

Reply via email to