DnD « JTree « Java Swing Q&A





1. Java: Cut item from JTree with lazy-deleting    stackoverflow.com

I've implemented Drag'n'Drop and CCP on my JTree (I've created my Transferable and TransferHandler classes).
By default Cut action (CTRL-X or SHIFT+DELETE keys) delete item from JTree (JTreeModel), but I want just ...

2. Java DnD - Java Component to .Net Component    stackoverflow.com

I'm trying to use Java drag and drop to drag an object from a JTree into a native .NET component that is embedded in my app. This .NET component only ...

3. Change cursor type in DnD tree    coderanch.com

4. how to use DnD with Jtree    coderanch.com

5. JTree DnD multiple node selections?    coderanch.com

Greetings Ranchers, I'm trying to implement Drag N Drop feature on my JTree. So far: I have got a crude version of my app running I can drag and drop a tree_node from one place to another with in the tree. However I cannot select mutliple nodes with current arrangement. The only way that I know to make multiple selections is ...

6. Swing DnD within JTree using Objects?    coderanch.com

I want to be able to drag leave nodes between non-leaf nodes within the same JTree. When I try to implement Swing DnD using a TransferHandler, the drag never seems to initiate (no indication of the drag appears on the cursor or in the JTree). When I implement it using the more laborious AWT methods, I can get it to work. ...

7. JTree - Have to resort to AWT DnD?    coderanch.com

Hi all, I want to drag a leaf node from a JTree onto a custom component that will generate an image representing that leaf node in the position corresponding to where the drop occurred. By this, I mean I first have a blank workspace, until I drag a node from the tree onto the workspace and it draws an image in ...