Maybe you didn't set capability.

-Tachio

On Tue, 2 Feb 1999, Vineet Gupta wrote:

> Hi,
> 
>       I have been trying to change the appearance interactively of the small
> world .  I start out with the unlit wireframe, change to the following to
> show how the scene changes:
> 
>       unlit wireframe (1)
>       unlit solid (2)
>       unlit points (3) 
>       lit solid (4)
>       transparent(5)
>       Texture (6)
>       ...
> 
>       I can change the scene if I precompute the six appearance above for using
> six world scenes, but this is inefficient.  I have tried to make changes
> interactive for one world scene, but I get this error:
> 
> 
>                       Exception occurred during event dispatching.
>                       at change.actionPerformed(change.java:397)
>                       ...
> 
>       I have menu options which can be clicked with above scene changes.  On
> actionperformed method,
> I have shape.setAppearance(null) and then assign the new appearance by
> shape.setAppearance( changeappearance ).  
> I know it has got to be something simple I am not doing.
> 
>       Please help!    
> 
> 
>       THANKS
>       Vineet Gupta
> 
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
> 

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to