Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Browser with JTree or JPanel

 
benny rusli
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic