File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to drag and drop individual element

 
Avinash Rakkasagi
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this particular code, when I try to drag and drop an element from left pane to right pane, instead of copying individual element which I am interested in, all the elements in the left pane with their child elements are being copied. So anyone please tell how to copy individual element.

Below is the code:

 
Riaan Nel
Ranch Hand
Posts: 160
IntelliJ IDE Ubuntu VI Editor
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No-one wants to wade through such a lot of code.

Post a SSCCE - it makes it easier for us to help you.
 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Avinash Rakkasagi wrote:In this particular code...

... copied from http://rtindex.ru/primery_java/p/peretaskivanie_podderevev_mezhdu_dvumya_derevyami_jtree_java_sample.html ?
 
Randall Twede
Ranch Hand
Posts: 4353
2
Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good catch Darryl...do you surf russian sites often?
 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, but a fundamental question about convoluted (and in parts rather badly outdated) code implies it was copied from somewhere.

Changing a few things here and there doesn't faze Google
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic