Create Java Program

Budget $30 - $250 USD
Bids 2
Average Bid $40

Create java program that is contained in one file

Create an application which will obtain the name of a folder from the command line arguments (example:
>java "F:\myfolder\hisfolder\name of folder"

write a java application that will (recursively) traverse the entire content of a folder on your computer and create to graphs about the files:(only has to list directories not the contents)

Create two bar charts (max 50 stars) in 2 different GUI windows that will display two frequencies/histograms/barcharts for all of the files contained within/under that folder (including subfolders)

Task A) 6 categories of fileSizes (in bytes) by 200,000:
Task B) Nine categories indicating the frequencies of the most significant digit of the file size (The most significant digit can only be from 1 through 9)

The way I want to get the most significant digit is to convert it/store to a string and then use the [url removed, login to view](0) which will get the first(zero-th) character of the string (left most) and then convert that character digit into a number;

You must use arrays to store the frequencies,
You must read the starting folder from the command line arguments
The contents of the starting directory may be any size (and include many sub folders!)
Your GUI output for the first Application must be in a JTextArea within a JScrollPane utilizing [url removed, login to view] method
From the main method you will create to methods:
private static void parseFile(File file) //which will populate the histograms
public static void reportResults(String folderName) //will print out the bar charts


Post a Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project