Reference one of them explicitily, e.g.: gunXfmGrp.addChild(new com.sun.j3d.util.geometry.Box(1.0f,1.0f,0.5f,gunApp));
and import the other. Kev Rob Elsam wrote: >I am making a game that uses a Box shape and has a GUI >to control various things. However importing Swing >and >com.j3d.utils.geometry causes the following error: >reference to Box is ambiguous, both class >javax.swing.Box in javax.swing and class >com.sun.j3d.utils.geometry.Box in >com.sun.j3d.utils.geometry match > gunXfmGrp.addChild(new >Box(1.0f,1.0f,0.5f,gunApp)); > > >Dose anyone know a way to get round this? > >Thanks > >Rob Elsam > >__________________________________________________ >Do You Yahoo!? >Everything you'll ever need on one web page >from News and Sport to Email and Music Charts >http://uk.my.yahoo.com > >=========================================================================== >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".
