File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set Images for the leaf nodes in the Jtree

 
Nanditha Parripati
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I created a Jtree with Hashtable. But i want to set different images for leaf nodes in the Jtree How do i do that. Please any one help me in this.
 
Gert-Jan den Besten
Ranch Hand
Posts: 56
Java Linux Python
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wonder to what kind of SCJD assignment this applies to
 
Roel De Nijs
Sheriff
Posts: 9098
75
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gert-Jan,

Sometimes people have some difficulties finding the correct forum to post their question So one of the bartenders or sheriffs (people with special powers) will move it to the Swing / AWT / SWT / JFace forum.

Kind regards,
Roel

 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11831
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So moved.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic