String[] name = new String[1000];
String airline = nameInputField.getText();
for(int nameCounter = 0; nameCounter < name.length; nameCounter++){
name[nameCounter] = airline;
}
As far as i see from the above code, you have an array with a predefined size and you are filling it with the same value obtained from a textfield. So it is normal to have your array elements to have the same values which is the entered text from the user.
What is the input you are getting from user and what do you want to put inside your array exactly?