设置为允许拖放的容器 setDropTarget(DropTarget dt) 设置拖放事件监听器DropTarget(Component c, int ops, DropTargetListener dtl)