Chapter 21. Drag and Drop

Drag and drop is an essential part of most modern software and, as of the 1.2 JDK, is available as part of the AWT. The java.awt.dnd package provides all of the essentials for implementing drag and drop among AWT components.

Regardless of what you may have heard in the past, drag and drop always starts with a drag, and a drag always starts with a gesture. The java.awt.dnd package provides the infrastructure ...

Get Graphic Java™ 1.2, Volume I: AWT, Third 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.