• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jide CheckboxTreeCellRenderer

 
Sean O'Donnell
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings-
Was wondering if anyone has used Jide's CheckboxTree? If so, do you know how to add an icon to the renderer?

Thanks!
Sean
 
Sean O'Donnell
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please disregard.

I figured it out. For those interested, you must set your own custom TreeCellRenderer. Jide's CheckBoxTree will keep the checkbox, and place your icon and label to the right of the checkbox.

Thanks.
Sean
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!