When i recieved an error on the input from the user, the pop box gives them instruction to try again but i want the old data to clear out first. What i am trying is below, however i get an error when it runs::

java.util.Arrays.fill(myArray,0);