Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Building tree node in swing:checkBox+image+node name
Raj Kumar Bindal
Ranch Hand
Posts: 418
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I want to add checkbox to my tree.
**I already have image 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.
thanx
Mathias Nilsson
Ranch Hand
Posts: 367
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Here is an example
Checkbox in JTree
// Mathias
SCJP1.4
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...