Hi all!!!!
How can i resize a Box (com.sun.j3d.utils.geometry.Box) at execution time.
I would like to pass the length, width, and height values by applet parameters.
 
The problem is that when i pass the parameters and click the update button, it create a new window with a box with the new dimensions but what i want is to update the current window and not to generate another window.
 
If I try to update all the tree:
 
Box miBox2=new Box(x.floatValue(),y.floatValue(),z.floatValue(),ap);
miBox2.setBounds(bounds);
objTrans.addChild(miBox2);
objScale.addChild(objTrans);
scene.addChild(objScale);
 
It gives me a java.lang.NullPointerException
 
what can I do????
 
Thanks in advance

Reply via email to