<br>
Hey, I'm new to Java Programming. So I'll need lot's of help! My very first question is:<br>
Does anyone know how to make one of you applications read file names like explore does on windows?<br>
<br>
Thanks buddies.
Hi!<br>
<br>
Use the File class for the root directory, and the list() method will give you an array of strings of files and directories. Make a new File class for each item, and if the item isDirectory() then do a recursive read.<br>
If I was difficult, tell me, and I will write small example.<br>
<br>
Good luck. Bye, Otto.<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.