This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Browser with JTree or JPanel

 
benny rusli
Ranch Hand
Posts: 72
  • 0
  • 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
  • 0
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic