Hello,
I need to be able to use a
menu system to alter the content of my live scenegraph. I have set up the menu
system in my frame class which implements ActionListener. I want to be able to
do things like change the appearance of my Shape3D nodes ( a face and associated
muscles) from the menu (Wireframe-Shaded etc).
Do I actually want to do anything in my
actionPerformed method in the frame class ?. Would the solution be to write
behaviours in the FaceScene class (which constructs the scenegraph initially)
which wake up on the AWT event ID that signifies a particular menu choice ?. The
behaviour would then be able to modify the geometry, appearance etc of my
shape3D nodes. How would I go about doing this ?
Any help would be greatly appreciated (I need to
have this working by monday !)
Paul Skidmore