| Author |
DND JTable to JTree
|
Mathias Nilsson
Ranch Hand
Joined: Aug 21, 2004
Posts: 367
|
|
Can anyone give me some pointers on how to drag from a JTable and drop in a JTree. java 1.5 must be supported. // Mathias
|
SCJP1.4
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Check out Introduction on DnD as part of the Java Tutorial. You should find quite some information there.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Mathias Nilsson
Ranch Hand
Joined: Aug 21, 2004
Posts: 367
|
|
Thanks but as I mentioned I must use java1.5 and not 6 The canImport(TransferHandler.TransferSupport) is since 1.6 [ November 07, 2008: Message edited by: Mathias Nilsson ]
|
 |
Mathias Nilsson
Ranch Hand
Joined: Aug 21, 2004
Posts: 367
|
|
Thanks! I solved it. DragSourceListener, DragGestureListener in the JTable and DropTargetListener in the JTree. // Mathias
|
 |
 |
|
|
subject: DND JTable to JTree
|
|
|