int deltaX = mouseEvent.getClientX()
- mouseDownEvent.getClientX();
int deltaY = mouseEvent.getClientY()
- mouseDownEvent.getClientY();
ComponentPosition position = l.getPosition(transferable
.getSourceComponent());
position.setTop(position.getTopValue() + deltaY, UNITS_PIXELS);
position.setLeft(position.getLeftValue() + deltaX, UNITS_PIXELS);
} else if (dropEvent.getTransferable().getSourceComponent() == tree1) {
// dragged something from tree to the folder shown