|
Java 1.4 Data Transfer Tutorial
Swing
Data Transfer
in Java[tm]
2 Platform, Standard Edition 1.4 (Merlin)
by Matthew
Hosanee
Table of Contents
[Download
as zip]
Page 1 - Introduction
Page 2 - So what's new?
Page 3 - Data Transfer System
Page 4 - Drag and Drop
Page 5 - Clipboard
Page 6 - Code Samples
Page 7 - Further information
We want to hear from you! Please send us your
FEEDBACK.
The following tutorial may contain actual software programs in source
code form. This source code is made available for developers to use as needed,
pursuant to the terms and conditions of this
license.
Introduction
Just one of the many advantages of Java[tm]
2 Platform, Standard Edition v1.4 (Merlin) [download
here] is the new support for Swing to be able to transfer data between
applications, native or the Java programming language.
This takes two forms:
Drag and Drop (DnD) support
Clipboard transfer via cut/copy/paste
This publication aims to paint a clear picture of how Swing works with
the Data Transfer system and also show what is new/changed in Merlin with
Data Transfer support.
 
About the Author
Matthew
Hosanee has been with Sun Microsystems for four years working with
Java[tm] technologies. Currently part
of Suns worldwide Developer
Technical Support team, he works with the developer community providing
publications and support relating to all the Java[tm]
2 platforms, technologies and the Sun
ONE architecture. Developer Technical Support also provides contract
support, either single, multiple or personalized incident support - see
the webpages linked above for further information.
|