jeremytaffy
Technical User
I want to be able to display the files in a certain directory in a JTextArea. I've tried using the
File <directory name> new File("/directory name"
and then I used:
<directory name>.listFiles();
This all compiles correctly yet I don't know how to put the information in a Text area. I'd like to have all the files in the directory obtain a certain value in an array if possible.
Thanks.
File <directory name> new File("/directory name"
and then I used:
<directory name>.listFiles();
This all compiles correctly yet I don't know how to put the information in a Text area. I'd like to have all the files in the directory obtain a certain value in an array if possible.
Thanks.