wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTree and Filesystem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree and Filesystem?" Watch "JTree and Filesystem?" New topic

JTree and Filesystem?

Max Power
Ranch Hand

Joined: May 10, 2004
Posts: 47
hello, i have this little example of a jtree displaying a directory from the harddrive. the problem is, that it always shows full paths.


instead of


how can i fix that? you can compile the code and just give a valid path for the parameter....

any ideas? THANKS

I agree. Here's the link: http://aspose.com/file-tools
subject: JTree and Filesystem?
Similar Threads
Dont collapse JTree after refresh?
Expand Lazy Loaded JTree
Lazy fetching JTree
JTree / DataModel Confusion
TreeNode ClassCastException?