Drag and Drop
Drag and Drop enables data transfer acrossJava programming language andnative applications, between Java programming languageapplications, and within a single Java programming languageapplication.
Support for drag and drop is implemented primarily in the AWTpackage, but there is additional support built in to the Swing GUIclasses. In many cases, drag and drop support can be enabled bycalling a single method on a Swing component. For more information,please seeHowto Use Drag and Drop and Data Transfer, a section inThe SwingTutorial
API Specification
- java.awt.datatransfer- Provides interfaces and classes for transferring data between andwithin applications.
- java.awt.dnd- Drag and drop is a direct manipulation gesture, found in manyGraphical User Interface systems, that provides a mechanism totransfer information between two entities logically associated withpresentation elements in the GUI.
- Drag and Drop Specification
Tutorials and Programmer'sGuides
API Enhancements
More Information
Copyright © 1993, 2020, Oracleand/or its affiliates. All rights reserved.