Java File I/O Software
Here are some deliberately simplified sample classes. They are designed to illustrate how to do various file-related things.
- a simple directory/file viewer that
displays the list of files and directories in the current directory and
lets you sort them, navigate up and down the directory tree and view the
content of a file by clicking on it.
Here's a ZIP file containing the FileView class and its subsidiary classes. The ZIP also contains a short README file.