This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Help about JTree's drag and drop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help about JTree Watch "Help about JTree New topic
Author

Help about JTree's drag and drop

paul sheriff
Greenhorn

Joined: Mar 19, 2011
Posts: 2
hey guys!
i wanna implement a JTree with drag and drop functionality! but i have a little problem about how to form a line, or something like it , when you drag a node from the tree as a purpose of setting up the tree more precisely!
i have got a picture to illustrate it!
thanks a lot!


[Thumbnail for pro.png]

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Welcome to the Ranch!

Please don't use a larger font next time. It looks like shouting, and we don't really like that.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
paul sheriff
Greenhorn

Joined: Mar 19, 2011
Posts: 2
all right! sorry for it! lol
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help about JTree's drag and drop
 
Similar Threads
Drag n Drop -Help!!!
Drag and Drop from a tree view
JTrees Drag and Drop
drag and drop between 2 trees
Drag and drop of multiple items