title: Implementing drag-and-drop from one JPanel to another
body: <p>I'm new to drag-and-drop in Swing. I have a <code>JPanel</code> that draws an image with a caption superimposed on it. I want to implement drag and drop on this <code>JPanel</code>, but after going through some documentation and tutorials I didn't find any usable pointers on how it's done for this type of component. For starters, it doesn't have a <code>setDragEnabled</code> function.</p>
  
  <p>Can I make a <code>JPanel</code> draggable? I want to use this DnD maneuver to pass a reference to a certain object from one panel to another.</p>