O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Draggable Component

For a GUI component to act as the source of a drag-and-drop operation, it must be associated with five objects:

      java.awt.dnd.DragSource
      java.awt.dnd.DragGestureRecognizer
      java.awt.dnd.DragGestureListener
      java.awt.datatransfer.Transferable
      java.awt.dnd.DragSourceListener

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required