wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Drag and Drop in Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Drop in Applet" Watch "Drag and Drop in Applet" New topic
Author

Drag and Drop in Applet

V Vattikuti
Greenhorn

Joined: Apr 25, 2003
Posts: 5
Is it possible to do Drag and Drop of Graphical Components in an Applet?
Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
It is and fairly easy too you just need to determine if the use has clicked on the component and then plot the new position by locating the new cursor position and repainting.
[ April 25, 2003: Message edited by: Amy Phillips ]
V Vattikuti
Greenhorn

Joined: Apr 25, 2003
Posts: 5
im sorry, actually what i wanted to ask was, i have applet1 displayed in browser1, then i have applet2 displayed in browser2, can i drag and drop any component(textfiled,button) ,line or rectangle etc...from applet1 to applet2.
could anyone pls let me know, any help is appreciated.
thanx in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drag and Drop in Applet
 
Similar Threads
Drag and dropping across applets
DnD example in Applet?
DnD Questions
Feedback: Info for SCJP Tiger beta
Part I - Drag and dro clarification