aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Drag and Drop Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Drop Application" Watch "Drag and Drop Application" New topic
Author

Drag and Drop Application

Mythily Jaganathan
Greenhorn

Joined: Aug 22, 2006
Posts: 19
Hi all,

How to create a very small Drag and drop application in Java.
for Client side, they have to use a small Drag and Drop application for Sticker Designing.

Is there any method to do it.
Please help me regarding this
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Have you looked over the information in the Sing tutorial on Drag and Drop? It has some examples of how to use it.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Mythily Jaganathan
Greenhorn

Joined: Aug 22, 2006
Posts: 19
Thanks
am going through the document.
It is really a nice one.

Thanks& Regards
Mythily
Mythily Jaganathan
Greenhorn

Joined: Aug 22, 2006
Posts: 19
Hi Nathen,

Gone through the document and it deals with drag and drop for data transfer. But i want a drag and drop application for components like label, test, etc.,

A small application like eclipse drag and drop, so that we can provide it for clients.

Thanks & Regards,
Mythily
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Can you provide a link to what you want with "drag and drop"? I did a search for "eclipse drag and drop" and found a document that talks about an SWT version of the AWT version of drag and drop discussed in the previous link... all data transfer related stuff...

Components *are* data - moving them between applications *is* data transfer. If you want to move components within the same application, then you don't need to do the "data transfer" stuff - you just need to change coordinates of the components based on mouse events.
Mythily Jaganathan
Greenhorn

Joined: Aug 22, 2006
Posts: 19
Hi Nathen,

Thanks a lot.

I found a demo for that drag and drop application. Like eclipse drag and drop of components, it also behaves as my own drag and drop application.

Thanks for your help.

Thanks& Regards
Mythily
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drag and Drop Application