I am using Christian Schlichtherle's True Zip classes to write a small file compression program. His classes allow for the visualisation of the contents of an archive in JTree form. I use this to allow the user to preview the contents before they decide to unzip the archive.
What I want to do to further enhance the preview JTree is have only the root icon as a Zip icon and the rest of the icons will be different from that one. I did alot of research and could not discover how to do this. I have alot of experience with Renderers, but I was unable to change only the root icon. Would anyone who has experience with JTree class know how to chnage only the root icon?
Your feedback would be greatly appreciated. Thanks.