On 10 Oct 2003 at 10:06, Carlos Vieira wrote:

Try (example clique Text2D):

           .................................
           text2d.setUserData("Java");

           ................................
           PickResult pickResult = null;
              Shape3D shape = null;
           pickCanvas.setShapeLocation(xpos,ypos);
           pickResult = pickCanvas.pickClosest();
              if (pickResult != null)
              {
                  shape = (Text2D)pickResult.getNode(PickResult.SHAPE3D);
              }

              if (shape != null)
              {
                        System.out.println(shape.getUserData());
           }
          ................................

I'm use and it work.

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