I have not tested it, but I suppose this could work well for you:
public void processAWTEvent(AWTEvent[] events)
{
int x = ((MouseEvent) events[0]).getX();
int y = ((MouseEvent) events[0]).getY();
myPickCanvas.setShapeLocation(x, y);
PickResult pR = pickCanvas.pickClosest();
if (pR != null)
{
Link l = (Link) myPickResult.getNode(PickResult.LINK);
myData = l.getUserData();
processData(myData);
}
}
===========================================================================
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".