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

Jide CheckboxTreeCellRenderer  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!