Results 1 to 3 of 3
  1. #1
    Avdhut is offline Member
    Join Date
    Feb 2008
    Posts
    2
    Rep Power
    0

    Default Drag and drop of multiple elements of a node in a Tree

    Hi,
    I am trying to search for getting information about drag and drop of multiple selected nodes in JTree. Now I am able to select and drag a single element of a tree. Also I am able to select multiple elements of a tree but I am unable to drag and drop those selected elemetnts to a new location.
    Can anyone suggest me a solution to this?

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    Look at the last code post (using TransferHandlers) in DND from JTree to JTable for some ideas.

  3. #3
    lmsook10 is offline Member
    Join Date
    Jun 2008
    Posts
    7
    Rep Power
    0

    Default

    Hello,
    As I've been researching the Internet to solve my problem regarding to "drag and drop of multiple selected nodes in JTree",
    I found you had the exact same problem with me when I read your posting on this Java forums.

    So did you solve the problem?
    If so, would you be so kind to help me?
    I'm sorry but sharing the codes would be so appreciated.

    Regards,

Similar Threads

  1. help with drag and drop on JList
    By ysl530 in forum AWT / Swing
    Replies: 4
    Last Post: 01-22-2011, 04:58 PM
  2. Undo Folder Drag and Drop
    By natel in forum Eclipse
    Replies: 0
    Last Post: 04-08-2008, 11:01 PM
  3. Drag and drop
    By abhivenugopal in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-30-2008, 02:10 PM
  4. help drag and drop in JTabbedPane
    By RO86 in forum AWT / Swing
    Replies: 0
    Last Post: 08-14-2007, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •