DnD and CCP from non jave apps
I'm feeling a bit stupid about this topic because I just read the entire tutorial Lesson: Drag and Drop and Data Transfer (The Java™ Tutorials > Creating a GUI With JFC/Swing) and still don't understand how to actually detect the drop or CCP event. I want to be able to simply allow the user to drag or copy, cut, and paste plain text from anywhere (text file, web browser, etc.) to a JTextArea in my app. I understand all in the tutorial except how to actually detect the event. Where is the listener and how do I implement it? I'm using netbeans 6.9.1 and there are no pertinent events listed that I can see.
Any help would be greatly appreciated.