File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes File Browser with JTree or JPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "File Browser with JTree or JPanel" Watch "File Browser with JTree or JPanel" New topic

File Browser with JTree or JPanel

benny rusli
Ranch Hand

Joined: Jan 15, 2005
Posts: 72
Hallo everybody,

i need urgent to improve my GUI Application that i have made. I want to make a file browser like JFileChooser (all should be listed) but i want to change the view from JFileChooser with my own. And I want that JTree or JPanel to browse files and folders, which one is better ? Any help would be appreciated. For a sample code or simple guide will be accepted.
Cosmo Haun

Joined: Oct 14, 2005
Posts: 3
This query for "jtree file" found this code example of how to display a file system in a JTree view from the book Java Cookbook

Find example source code written by java book authors at <a href="" target="_blank" rel="nofollow"></A>
I agree. Here's the link:
subject: File Browser with JTree or JPanel
It's not a secret anymore!