The red square is an example of a draggable image. It can be clicked and dragged around and then dropped. It makes use of the DraggableImage and ReleaseHandlerImg utility classes.
For a short tutorial on this sample click this button:
View Java Source Code