wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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 java.codefetch.com 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="http://java.codefetch.com" target="_blank" rel="nofollow">http://java.codefetch.com</A>
subject: File Browser with JTree or JPanel
Similar Threads
building a JTree
Radiobuttons in JTree
Regarding Selection of content of jtree node
Filesystem in JTree