Drag’n'drop of a JTree

28 January, 2004

Did you ever read this article at JavaWorld?Its an insanely complex thing it seems to implement drag and drop with Swing. Note, that the behaviour used in this article is the default one used in almost all Windows apps. This article is actually using the old-school DND code, using the awt package.The new jdk1.4 DND code, guess what, doesn't support dropping of folders between other folders. It just supports dropping folders into other folders.Any suggestions here?