• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree

 
cardwell cupp
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to change the icons of a jtree?
Thanks
Cardwell
 
cardwell cupp
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind. I figured it out. It is actually quite easy, you just creat a new TreeCellRenderer, use the set icon functions, and then add it to the jtree....
Thanks All any way
Cardwell
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic