shape3d.setCapability(Shape3D.ALLOW_PICKABLE_READ);
shape3d.setCapability(Shape3D.ALLOW_PICKABLE_WRITE);
shape3d.setPickable(true);
// Create a node in the JTree for this shape
new ShapeNodeJava3D(this, shape3d);
// Syn3D picking code uses the user data of a Java3D object to find back a node
// that handles the picking. Let's declare this object as the handler instead of
// ShapeNodeJava3D
shape3d.setUserData(this);