@Override
public boolean importData(TransferSupport support) {
Transferable t = support.getTransferable();
try {
Animation[] animations = (Animation[]) t.getTransferData(AnimationTreeTransferHandler.AnimationFlavor);
AnimationReceiver rec = (AnimationReceiver) support.getComponent();
for(Animation animation: animations)
rec.receiveAnimation(animation);
return true;
} catch (Exception e) {
e.printStackTrace();
return false;
}