Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

making checkbox in tree  RSS feed

 
Ruel Soriano
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can someone give sample that has a checkbox in every node. I made JTree format of data from database, problem is i can't make a checkbox for my JTree, and I explore how to make one its get me more confused. so if someone can show how to make i would appreciate it.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you return to the swing forum main page and find your first post on
this subject, 3 threads below that post (at the time of posting this) is a
thread that deals with JTree/CheckBoxes, and has sample code.

that thread may not do exactly what you're after, but it should point you
in the right direction
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!