I receive the error There was an issue. Please make sure you specify a file. Where does the csv file go within the following code and where do you put the csv file in the netbeans package.
TestCrime.java
/** File: TestCrime.java
* Purpose: Display menu to user and output data from various classes
*/
import java.util.Scanner;
public class TestCrime {
public static void main(String[] args){
try {
//fields
Long startTime, endTime, elapsedTime;
String userInput;
/** Create and instantiate USCrimeClass object
* pass command line argument to CsvToArray.getArray static method to convert csv to 2d array
* pass the returned array to the constructor as a parameter
*/
USCrimeClass usCrimes = new USCrimeClass(CsvToArray.getArray(args[0]));
//set start time
startTime = System.nanoTime();
//setup scanner
Scanner stdin = new Scanner(System.in);
System.out.println(n********** Welcome to the US Crime Statistical Application **************************);
//print menu
// loop while userInput is not equal to Q or q
while (true) {
//Call Menu class static method getMenu and print
System.out.println(Menu.getMenu());
//take user input
userInput = stdin.nextLine();
//take action based on user choice
switch (userInput.toLowerCase()) {
case 1: System.out.println(nyou have chosen: + userInput + n);
System.out.println(usCrimes.getPercentChanged(Population,1994