Support for drag and drop is implemented primarily in the AWT package, but there is additional support built in to the Swing GUI classes. In many cases, drag and drop support can be enabled by calling a single method on a Swing component. For more information, please see How to Use Drag and Drop and Data Transfer, a section in The Swing Tutorial
API Specification