| # Drag and Drop | Documentation Contents

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

Enhancements

- Enhancements in Java 2 Platform 1.4 include new support for data transfer using Swing. See Swing Data Transfer.

- Enhancements in previous release Java 2 Platform 1.3 included two new methods in class `java.awt.datatransfer.DataFlavor`. `
  - getReaderForText(Transferable transferable)
  - selectBestTextFlavor(DataFlavor[] availableFlavors)
  ` Without the use of these methods, unicode-encoded text will not be dragged onto some native-application documents correctly (an extra character will be left at the beginning of the text. These methods deliver ISO8859-1 text instead of unicode text to avoid this problem.

Drag and Drop Specification

- Drag and Drop Specification. Also available in postscript and pdf

Drag and Drop API Specification

- java.awt.dnd

Related Information

> Located on the Java Software website:

- The JFC Home Page

Copyright © 2002 Sun Microsystems, Inc. All Rights Reserved. Please send Drag and Drop comments to our Java Drag and Drop team: java-dnd@java.sun.com | Java Software