Your code looks like this (with proper indention and brackets):

for(int i = 0; i < 10; i++) {
userInput = JOptionPane.showInputDialog("Enter number:");
}
storeNumber[i] =...