String s;
s = JOptionPane.showInputDialog(null, "Please enter the number of calls for monday");

int numstring = Integer.parseInt(s);

displayData(anArray);

public static void displayData (anArray);

{

int highcallday;

System.out.println("The number of calls for Monday is " + anArray[0]);
System.out.println("The number of calls for Tuesday is " + anArray[1]);
System.out.println("The number of calls for Wednesday is " + anArray[0]);
System.out.println("The number of calls for Thursday is " + anArray[0]);
System.out.println("The number of calls for Friday is " + anArray[0]);
System.out.println("The number of calls for Saturday is " + anArray[0]);
System.out.println("The number of calls for Sunday is " + anArray[0]);