Skip to content

IT2045C/Assignment-Recursive-File-Lister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recursive File Lister

Assignment Self Assessment:

Reflection

How long did it take you to complete this assignment?

Self Assessment

  • The program runs with no errors.
  • Proper implementation of the Recursion algorithm.
  • Proper usage of Git and GitHub (frequent commits, explanatory commit messages)

Your Grade: /20

Notes:


Directions

The worked example from Chapter 13 shows how to use recursion to search for files with a specified extension. Read through the example carefully.

Create a Java Swing GUI program that uses the JFileChooser to allow the user to select a directory on the system. Then use the recursive approach from the worked example to list all the files within the chosen directory and any of its sub-directories. (Use a JTextArea ScrollPane to display the files. Minimum GUI Elements :

  • Start Button that displays the JFileChooser (Set it to only allow the user to pick directories)
  • Quit Button
  • JTextArea with JScrollPane for displaying the files.
  • A title JLabel for you GUI.

NOTE: you might NOT want to try to list the entire drive.

Grading

  1. The program runs with no errors.
  2. Proper implementation of the Recursion algorithm.
  3. Proper usage of Git and GitHub (frequent commits, explanatory commit messages)

Final Result:

You will be submitting a git repository with the following naming convention, 6-recursive-file-lister-lab-<your-github-username>, (i.e., 6-recursive-file-lister-lab-Ygilany). The repository contains:

  1. one Java Project with the following files:
    • FileListerFrame.java (JFrame extended class)
    • FileListerRunner.java (has a main method)
  2. a modified README.md file that includes your self-assessment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages