Java Reference
In-Depth Information
return currentIndex;
}
Figure 15-2
depicts the drag-and-drop operation that gives the user visual feedback
with a thumbnail-sized image over the surface. In the figure, I'm dragging the image
onto the application window.
Figure 15-2
.
Drag-and-drop in progress
Figure 15-3
shows that the drop operation has succesfully loaded the image.