I have a card game. There is a CardView component (extends
JComponent), and a TableTopView component (extends JPanel), and a
HandView component (extends JLayeredPane). The HandView contains many
CardViews. I'd like to allow the user to drag a CardView from the
HandView onto the TableTopView.
Is the Drag and drop support in swing what I want to use? If so, the
DnD tutorial hasn't been to helpful to me, and suggestions where I
should *start*? If it isn't DnD I should use, does anyone have a
suggestion? I have a glass pane that can be used to draw the cards as
I drag them, if I have to all the heavy lifting myself.
Andrew Thompson - 10 May 2007 06:55 GMT
...
>Is the Drag and drop support in swing what I want to use?
What D'n'D support in Swing? When an app. requires
D'n'D, I would look to ..
<http://java.sun.com/javase/6/docs/api/java/awt/dnd/package-summary.html>

Signature
Andrew Thompson
http://www.athompson.info/andrew/