hi,
Now I develope a program and It need zoom in and zoom out.
I want to use a button to make it zoom in or out when press it.
But i don't know how to do ,can someone tell me .
thanks in advance.

I tried to do as following.
Transform3D mmm ;
double x=0;
....
if (e.getSource=="button"{
    mmm.setScale(x);
    behaviorTrans.setTranslation(mmm);//behaviorTrans is a TransformGroup
}

===========================================================================
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".

Reply via email to