• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JTree

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could someone me tell me how to put differnet image on leaves of the branch of a JTree?
[This message has been edited by Ravi Gupta (edited May 17, 2001).]
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
Yeah you can add a Image to a tree, I can give you a link that will illustrate you this example.
I hope this link will solve your problem..... http://www2.gol.com/users/tame/swing/examples/JTreeExamples4.html
Bye....
 
Ravi Gupta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sanjay i will try this code.

Originally posted by Sanjay Bahrani:
Hi there,
Yeah you can add a Image to a tree, I can give you a link that will illustrate you this example.
I hope this link will solve your problem..... http://www2.gol.com/users/tame/swing/examples/JTreeExamples4.html
Bye....


 
reply
    Bookmark Topic Watch Topic
  • New Topic