Drag and Drop

Drag and Drop enables data transfer across Java programming language and native applications, between Java programming language applications, and within a single Java programming language application.

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

Tutorials and Programmer's Guides

API Enhancements

More Information

Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved.