Program: 46118
Project: 46118
Buggy source:
@Override public void commitEvent(Event event){
  MouseEvent3D mouseEvent=(MouseEvent3D)event;
  MouseEvent awtMouseEvent=(MouseEvent)mouseEvent.getAwtEvent();
  if (event instanceof MouseButtonEvent3D) {
    MouseButtonEvent3D be=(MouseButtonEvent3D)event;
    if (be.isPressed() && be.getButton() == MouseButtonEvent3D.ButtonId.BUTTON1) {
      MouseEvent awtButtonEvent=(MouseEvent)be.getAwtEvent();
      dragStartScreen=new Point(awtButtonEvent.getX(),awtButtonEvent.getY());
      dragStartWorld=be.getIntersectionPointWorld();
      Entity entity=event.getEntity();
      RenderComponent rc=(RenderComponent)entity.getComponent(RenderComponent.class);
      Vector3f centerWorld=rc.getSceneRoot().getWorldTranslation();
      dragStartVectorWorld=dragStartWorld.subtract(centerWorld);
      dragStartRadius=dragStartVectorWorld.length();
      setLabelPosition(awtMouseEvent);
      labelFrame.toFront();
      labelFrame.setVisible(true);
      labelFrame.repaint();
      fireResizingStarted();
    }
 else     if (be.isReleased() == true) {
      labelFrame.setVisible(false);
    }
    return;
  }
  if (!(event instanceof MouseDraggedEvent3D)) {
    return;
  }
  MouseDraggedEvent3D dragEvent=(MouseDraggedEvent3D)event;
  Vector3f dragWorld=dragEvent.getDragVectorWorld(dragStartWorld,dragStartScreen,new Vector3f());
  Vector3f dragEndVectorWorld=dragStartVectorWorld.add(dragWorld);
  float dragEndRadius=dragEndVectorWorld.length();
  float scale=dragEndRadius / dragStartRadius;
  StringBuilder resizeString=new StringBuilder();
  Formatter formatter=new Formatter(resizeString);
  formatter.format("String_Node_Str",scale);
  resizeLabel.setText(resizeString.toString());
  labelFrame.pack();
  setLabelPosition(awtMouseEvent);
  fireResizingChanged(new Vector3f(scale,scale,scale));
}

Fixed version (ground truth):
@Override public void commitEvent(Event event){
  MouseEvent3D mouseEvent=(MouseEvent3D)event;
  MouseEvent awtMouseEvent=(MouseEvent)mouseEvent.getAwtEvent();
  if (event instanceof MouseButtonEvent3D) {
    MouseButtonEvent3D be=(MouseButtonEvent3D)event;
    if (be.isPressed() && be.getButton() == ButtonId.BUTTON1) {
      MouseEvent awtButtonEvent=(MouseEvent)be.getAwtEvent();
      dragStartScreen=new Point(awtButtonEvent.getX(),awtButtonEvent.getY());
      dragStartWorld=be.getIntersectionPointWorld();
      Entity entity=event.getEntity();
      RenderComponent rc=(RenderComponent)entity.getComponent(RenderComponent.class);
      Vector3f centerWorld=rc.getSceneRoot().getWorldTranslation();
      dragStartVectorWorld=dragStartWorld.subtract(centerWorld);
      dragStartRadius=dragStartVectorWorld.length();
      showResizeLabel(awtMouseEvent);
      fireResizingStarted();
    }
 else     if (be.isReleased() == true) {
      hideResizeLabel();
    }
    return;
  }
  if (!(event instanceof MouseDraggedEvent3D)) {
    return;
  }
  MouseDraggedEvent3D dragEvent=(MouseDraggedEvent3D)event;
  Vector3f dragWorld=dragEvent.getDragVectorWorld(dragStartWorld,dragStartScreen,new Vector3f());
  Vector3f dragEndVectorWorld=dragStartVectorWorld.add(dragWorld);
  float dragEndRadius=dragEndVectorWorld.length();
  float scale=dragEndRadius / dragStartRadius;
  updateResizeLabel(scale,awtMouseEvent);
  fireResizingChanged(new Vector3f(scale,scale,scale));
}