Summary

Java now has the long-awaited capability to transfer data using a drag-and-drop metaphor that is available on many platforms. Although it's not entirely easy to implement, it's well worth the effort. I expect that as Java matures, the drag-and-drop API will become easier.

There are several additional examples on http://www.sourcedna.com that illustrate drag-and-drop techniques. Visit the site and download the examples.

Get JavaBeans Unleashed 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.