Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Java App Question

Options
  • 01-05-2001 8:22pm
    #1
    Registered Users Posts: 1,023 ✭✭✭


    Right I'm doing up a java app with Swing. I've two JScrollPane left and right of app. Each pane have a JTree in it. I want to be able to drag nodes from Left Tree to right Tree. So left one has to implement Draggable, and Right one Droppable. Problem is this. Do the JScrollPane, JTree, or DefaultMutableNodes implement the Draggable and droppable. I've been looking at examples from java.sun.com but I can't figure out the best way to implement this. Any ideas?

    Cheers.
    Dave.


Advertisement