Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

listening to events when Child node changes?

 
Anthony Yulo
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to be able to trap events where in a node changes its position in the tree but within its parent only...for example i have a parent node with 5 child nodes.... and then i drag the 5th node so so that it becomes the 1st node.. how do i capture the event..What listener can i implement...
I have already tried the implementing treemodelistener's STRUCTURECHANGED() method but it seems nothing happend... java did not execute my code...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!