This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

listening to events when Child node changes?  RSS feed

 
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!