Hi Britta, > I am still working on my aquarium. At the moment I look straight into it. > I would like to be able to change the views of the camera by pressing >"leftview" "topview" buttons. i have done the necessary camera >configurations, > but i don t know how to activate them.
I solved that problem this way: 1 - Created a new class(Controler) extendind Behavior, which acts as the controler of the whole scene. It posts IDs, so that other behaviors can wakeup to it. You just add it to the root of your scenegraph, no need to specify a target TransformGroup for it. Don't forget to specify the scheduling bounds. 2 - In the interface class I create an object of the above class and when a button is pressed, one of the Controlers methods is called, like this: Controler cont; cont.method1(); That method will then post an ID; 3 - The behavior class you want to wakeup when the button is pushed, just has to use the WakeupOnBehaviorPost class, using of course the same ID you used in the controller.(Don't forget that RESERVED_MAX is 1999). Take care, Joao Francisco =========================================================================== 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".