File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Drag and Drop Question -- I Have Problem With Dropping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Drag and Drop Question -- I Have Problem With Dropping" Watch "Drag and Drop Question -- I Have Problem With Dropping" New topic
Author

Drag and Drop Question -- I Have Problem With Dropping

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I was unable to do the "drag-and-drop". Because SCJA Part I has this type of question, I need help ahead of time.
What I did was:
I moved the mouse over to the item which I wanted to pick up. I pressed down on the mouse, then moved the mouse while keeping the mouse in the "pressing down" position. I released the mouse at the destination where I wanted the item to be dropped.
Sympton:
The item was picked up and moved along with the mouse. When I released the mouse at the destination, the item did not get dropped at where I wanted it to be. Instead, the item went back to the original place.
Would you provide diagnostic comment on what I did wrong? Thanks.
Joe Gilvary
Ranch Hand

Joined: May 11, 2001
Posts: 152
Where did you drop the item? You must drop
it on something that implements the
DropTargetListener interface.
Originally posted by JiaPei Jen:
I was unable to do the "drag-and-drop". Because SCJA Part I has this type of question, I need help ahead of time.
What I did was:
I moved the mouse over to the item which I wanted to pick up. I pressed down on the mouse, then moved the mouse while keeping the mouse in the "pressing down" position. I released the mouse at the destination where I wanted the item to be dropped.
Sympton:
The item was picked up and moved along with the mouse. When I released the mouse at the destination, the item did not get dropped at where I wanted it to be. Instead, the item went back to the original place.
Would you provide diagnostic comment on what I did wrong? Thanks.
JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am sorry that I confused you. My question is not about programming. It is a simple and stupid question regarding how to do the "drag and drop" while I am physically "in the test room". I was able to pick up and move the item using the mouse. The item does not get dropped at the desired place when I released the mouse.
 
 
subject: Drag and Drop Question -- I Have Problem With Dropping
 
Similar Threads
I Was Unable To Do The Drag and Drop Question At The Exam
onMouseUp in Safari
Cleared the exam with 90%
drag and drop in the same JList and more...
Drag and Drop