Can you be more specific? I can think of at least two meanings to what
you ask.
A common practice would be to have a JTree that shows a list of
files/folders, and when you click on a file, a different panel shows the
contents of that file. This is fairly easy to do. Look into
TreeSelectionListener for hints on how to do this.
The other thing I can think of, is that you want your TreeCellRenderer
to actually render an image, which might change the size of the tree
node considerably. This is also fairly easy. Look into
TreeCellRendered for hints on this approach.
If you meant something else, please feel free to explain more precisely
what you want. It would be even more helpful to see also what you've
tried and how it failed you (see
http://sscce.org)