//private final CustomDropTargetListener dropTargetListener = new CustomDropTargetListener();
this.dataFlavor = dataFlavor;
setDropTarget(new DropTarget(this, this));
}
}
}
}
}
}
}
}
try {
repaint();
} catch (UnsupportedFlavorException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
dtde.dropComplete(true);
public void run() {
}
}, 2000);
return;
}
}
dtde.rejectDrop();
}
}