Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create a resource explorer using java?

 
Kevin Chiu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
How to write a program that explore the file system like windows explorer using java?
Thanks everyone
 
Philip Borlin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at javax.swing.JTree. You can use File objects directly as nodes if you want.
Originally posted by Kevin Chiu:
Hi!
How to write a program that explore the file system like windows explorer using java?
Thanks everyone
 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have a look at the kiwi project. http://kiwi.sourceforge.net. It has a similar class for exploring the file system.
 
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!