144145146147148149150151152153154
Point2D position = target.globalToLocal(node.localToGlobal(new Point2D.Double( 0, 0))); node.setOffset(position); target.addChild(node); droppable.justDropped(); } } } }