What Is Drag and Drop?
It's hard to imagine a windowing system that doesn't support drag and drop. This capability makes it possible to drag document icons to trashcan icons and then drop these "documents" into the "trash can." (Obviously, the document files associated with these icons are deleted.) Furthermore, drag and drop supports the copying or moving of file icons from one location to another location in a directory hierarchy. (As you know, the actual files are copied or moved behind the scenes.) Wherever it makes sense to drag an icon to another window, drop this icon onto that window, and perform an operation in the background, drag and drop is used.
Because modern windowing systems support drag and drop, Java must also support this capability, ...
Get Special Edition Using Java 2 Standard Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.