Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Checkbox node update  RSS feed

 
Joao Cunha
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I've implemented a Tree with checkbox nodes, where the check implies that the node content is set on the program model.

If I select or deselect the node directly, the checkbox is checked/unchecked normally.

However, I have a feature that allows the user to add/remove the node content from the program model without the need to check/uncheck the checkbox.

The problem is that if I get the node checkbox and invoke the setSelected method setting true or false, the Tree view is not updated. The node checkbox view is not updated also. Only the model.

How can I update the view in order to have the tree showing the checkbox as check/uncheck correctly?

Thanks!
 
Ben Zung
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you google "Java print", you got some very usefull hints/helps.

Good luck.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!