Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



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

how to make jTree leaf contain checkbox ?  RSS feed

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, good day, if i using



howto i make the tree leaf contain checkbox ? if possible, please guide me on the way of not using third part component, anyway, any guidance is appreciated , thank you
 
Brian Cole
Author
Ranch Hand
Posts: 932
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You shouldn't need any third-party components, you
just need to implement a custom TreeCellRenderer and
TreeCellEditor. They can be a bit confusing if you
aren't familiar with them, but there should be some
decent tutorials out there on the web somewhere.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!