Question about arrays and jtexfields
I have a group project to do and my group and I are trying to allow the user to enter information into two jtextfields. We then want the user to press a jbutton to add the information to the end of an array. Is it possible to add to an array by getting information for two separate jtextfields?
Re: Question about arrays and jtexfields
Hello CheekySpoon,
I think you should look into something like an ArrayList - ArrayList (Java Platform SE 6)
Here is an example - http://www.javaprogrammingforums.com...arraylist.html
Re: Question about arrays and jtexfields
Thanks for the suggestion. I'll see what they say about using an ArrayList instead.