> It doesn't work BECAUSE you changed the import statement. All of the > behaviors are still located in the same path/package. Leave > that import > statement alone. In Java3D 1.2 all picking behavior classes are moved from com.sun.j3d.utils.behaviors.picking.* to com.sun.j3d.utils.picking.behaviors.*. So it should find all of the behaviors in com.sun.j3d.utils.picking.behaviros.* Leave the import statement alone, will force compiler to pick the depreciated version of pickTranslateBehavior instead of new version of pickTranslateBehavior. That is not my intention. I want the compiler to pick up the latest version of pickTranslateBehavior from the new package path. Ching > -----Original Message----- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Reiss > Sent: Thursday, June 29, 2000 10:44 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] pickTranslateBehavior seems to broke on > Java3d 1.2 > release > > > It doesn't work BECAUSE you changed the import statement. All of the > behaviors are still located in the same path/package. Leave > that import > statement alone. > > > > > At 10:06 AM 06/29/2000 -0700, you wrote: > >Does any one have any luck to get pickTranslateBehavior work > >on Java3D 1.2 release? It used to work OK on Java3D 1.1.3 > >release. I have modified the example program PickTest of > >Java3D release from 1.1.3 to 1.2 by changing import statement > > > >//import com.sun.j3d.utils.behaviors.picking.*; > >import com.sun.j3d.utils.picking.behaviors.*; > > > >After the modification, the program no longer works - you > >cannot pick individual object and move it. > > > >Attached the modification of PickTestGeometry.java file for > >Java3d 1.2 release. I am running on NT4.0 with JDK1.2.2 release. > > > >Ching > > ************************************************************** > ********* > Eric Reiss - http://www.sigda.acm.org/Eric/ > Email: [EMAIL PROTECTED] > > SIGDA Internet Server Manager - http://www.sigda.acm.org/ > > Assistant Systems Manager - School of Engineering > University of Pittsburgh > ************************************************************** > ********* > > ============================================================== > ============= > 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". =========================================================================== 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".
