Converting a JOptionPane string input to an int array?