Frame[] frames = (Frame[]) support.getTransferable().getTransferData(FrameFlavor);
if(support.getDropAction() == COPY)
for(Frame frame:frames) ((Animation) parent).addFrame(frame.clone(),index++);
else if (support.getDropAction() == MOVE) {
index--;
for(Frame frame:frames) index = frame.move(parent,index);
}
return true;
} catch (Exception e) {
e.printStackTrace();
return false;