Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree up not working properly

 
Krithika Beri
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTree and a button in the UI called up. When i select a node and say up, it is supposed to move that node up. The problem is that the first time it works fine but the second time that node disappears completely from the tree.
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You started this topic about a month ago, and as I recall you got the solution for your "moving node up" problem (though the point was to select the node moved up, but still the code was working fine for what you want).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic