Drag Drop « GUI « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » GUI » Drag Drop 
1. Add drag and drop to your JTrees
Author:Rob Kenworthy
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip97.html?
Summary: Among other features, Java 2 has provided Java programmers with the ability to build drag and drop into their GUI components. However, in components such as the JTree, the drag-and-drop implementation is not intuitive. This tip guides you through the complexities presented when implementing drag and drop into a JTree. (2,000 words)


2. Add ghosted drag images to your JTrees
Author:Andrew J. Armstrong
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip114.html?
Summary: When using drag and drop, a drag image is a useful visual reminder of what is actually being dragged. However on some platforms, notably Microsoft's Win32, the drag image requested in your Java program is ignored, depriving the user of that valuable feedback. This tip suggests a way to add drag images to JTree objects even when the underlying platform doesn't play ball. (1,100 words, August 2001)


3. How to drag and drop with Java 2
Author:Gene De Lisa
URL:http://www.javaworld.com/javaworld/jw-08-1999/jw-08-draganddrop.html
Summary: Drag and drop (D&D) is an intuitive GUI gesture used for transferring data from one GUI component to another. This second article in the drag and drop series explores how you can transfer data besides text and discusses the issues involved with developing a library of D&D-enabled project Swing components. (4,400 words)


4. How to drag and drop with Java 2, Part 1
Author:Gene De Lisa
URL:http://www.javaworld.com/javaworld/jw-03-1999/jw-03-dragndrop.html
Summary: Drag and drop (D&D) is an intuitive GUI gesture used for transferring data from one GUI component to another. This article explores the D&D classes introduced in the Java 2 platform (formerly JDK 1.2). To demonstrate the transfer of textual data locally (within a single Java virtual machine) and remotely (to other JVMs or native programs), seasoned Java instructor Gene De Lisa shows you how to subclass a Swing (JFC) component. This article includes a D&D Glossary. (4,000 words)


5. How to drag and drop with Java 2, Part 2
Author:Gene De Lisa
URL:http://www.javaworld.com/javaworld/jw-08-1999/jw-08-draganddrop.html
Summary: Drag and drop (D&D) is an intuitive GUI gesture used for transferring data from one GUI component to another. This second article in the drag and drop series explores how you can transfer data besides text and discusses the issues involved with developing a library of D&D-enabled project Swing components. (4,400 words)


www.ja_v___a___2__s_.c___o___m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.