HI Zak,
It looks like you have not added the Behavior to the scene graph.
You should call ViewingPlatform.setViewPlatformBehavior to add the
behavior to the scene.
Rgds
Paul
>Do you have an example on how this works? I have tried it and it keeps spitting
this out. It happens once I try to move the globe.
>
>Exception occurred during event dispatching:
>
>java.lang.NullPointerException:
> at
com.sun.j3d.utils.behaviors.vp.VPMouseBehavior.mousePressed(VPMouseBe
>havior.java:297)
> at java.awt.Component.processMouseEvent(Component.java:3714)
> at java.awt.Component.processEvent(Component.java:3546)
> at java.awt.Component.dispatchEventImpl(Component.java:2595)
> at java.awt.Component.dispatchEvent(Component.java:2499)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
> at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
>
>Thanks
>
>Zak
>
>
----------------------------------------------------------
Paul Byrne Email : [EMAIL PROTECTED]
Sun Microsystems Phone : (650) 786 9926
Visualization Software Group Fax : (650) 786 5852
----------------------------------------------------------
===========================================================================
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".