A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Building tree node in swing:checkBox+image+node name
Raj Kumar Bindal
Joined: Apr 15, 2006
Jun 08, 2006 09:23:00
I want to add checkbox to my tree.
**I already have
and some name attached with each node.
But,now i also want to add checkbox with each node.
Plz tell me :
**If there is any direct tree attribute for checkboxes or how can i achieve it.
Joined: Aug 21, 2004
Jun 08, 2006 13:53:00
Here is an example
It is sorta covered in the
JavaRanch Style Guide
subject: Building tree node in swing:checkBox+image+node name
Checkbox node update
Searching a JTree
Can I add a checkbox in front of a tree node?
Folder icon display at richfaces tree node
Code for JTree with checkbox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015