This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Searched high and low for this but couldn't figure it out.....
I am using this http://www.jroller.com/santhosh/date/20050610 code to create a JTree with checkboxes. All is cool, except when I load nodes into the tree I need to programmatically set the check
on the checkbox nodes. Any ideas on how to do this?
did you try posting a comment (question) on the blog?
did you try emailing the author of the code?
Joined: Oct 29, 2010
No and No.... the posting was from 2005. After some thorough reading and much trial and error, I learned a bit about cell renderer. But it look's like there is more than one way to make this happen.
Here is the code I ended up with... but didn't use check boxes - opted for status markers instead.