@Override
 public void transformChanged(int type, Transform3D transform) {
   if (keyFramePanel.isUseSelected()) {
     if (mouseRotate.getTransformGroup() != null) {
       pickingCallback.transformChanged(type, mouseRotate.getTransformGroup());
     }
   } else {
     super.transformChanged(type, transform);
   }
 }
  /*
   * (non-Javadoc)
   *
   * @see
   * com.sun.j3d.utils.behaviors.picking.PickMouseBehavior#updateScene(int,
   * int)
   */
  @Override
  public void updateScene(int xpos, int ypos) {

    TransformGroup tg = null;

    if (!mevent.isMetaDown() && !mevent.isAltDown()) {

      pickCanvas.setFlags(PickInfo.NODE | PickInfo.SCENEGRAPHPATH);

      pickCanvas.setShapeLocation(xpos, ypos);
      PickInfo pickInfo = pickCanvas.pickClosest();
      if (pickInfo != null) {

        ControlService.getService().setTopPressed(true);

      } else if (callback != null) callback.transformChanged(PickingCallback.NO_PICK, null);
    }
  }
 /*
  * (non-Javadoc)
  *
  * @see
  * com.sun.j3d.utils.behaviors.mouse.MouseBehaviorCallback#transformChanged
  * (int, javax.media.j3d.Transform3D)
  */
 @Override
 public void transformChanged(int type, Transform3D transform) {
   callback.transformChanged(PickingCallback.ROTATE, transformGroup);
 }