Hi,

  No, BranchGroup does not extend OrderedGroup, it extends Group.
 Both OrderedGroup and BranchGroup are subclasses of Group class.
 And ALLOW_CHILD_INDEX_ORDER_READ is a field of OrderedGroup, not Group.
 So, you should change the below to
    scene.setCapability(OrderedGroup.ALLOW_CHILD_INDEX_ORDER_READ);

  Hope this helps.

  -Tolga Can
   [EMAIL PROTECTED]

>
>  Dear all:
>
> i thought a branch group extends OrderedGroup. so why am i getting an error
> like
>
> GraphicDisplay.java:763: cannot resolve symbol
> symbol  : variable ALLOW_CHILD_INDEX_ORDER_READ
> location: class javax.media.j3d.BranchGroup
>
> scene.setCapability(BranchGroup.ALLOW_CHILD_INDEX_ORDER_READ);
>                                                ^
> 1 error
>
>
> any Ideas ?
>
> thanks,
>
> Isaac
>
> ===========================================================================
> 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".
>

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