Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use DnD with Jtree  RSS feed

 
BJon Jo
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I create a node of JTree which is actually an object, consist of string and image. I want to move both string and image onto a panel but I cann't. However when I create DefaultMutableTreeNode with only string, I can use DnD.
Any advice? Thank U very much
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!