I would like to add to an array from input thru a textfield when the add button is pushed.
array im adding to:
I have a gettext methode already declared. The problem is i dont know the code to apply it into the array.String[] name = {"Stapler", "Pens", "Paper", "Staples"};
psudocode
add button
textfield.gettext
apply textfield.gettext to name{}