I was wondering if someone might help me get a grasp on arrayLists. I've read the books but an still having some problems.
I created a GUI to accept varing records. There are buttons to travers the records and each time I select a button I'm updating the arrayLists. ArrayList.add(Number, object); When I do forward the Number is incremented and when I go back its reduced.
By using the "Number" are are substituing a record or adding a new record and sliding the old one up? The program seems to bomb when I go back and forth between records.
Thanks
I created a GUI to accept varing records. There are buttons to travers the records and each time I select a button I'm updating the arrayLists. ArrayList.add(Number, object); When I do forward the Number is incremented and when I go back its reduced.
By using the "Number" are are substituing a record or adding a new record and sliding the old one up? The program seems to bomb when I go back and forth between records.
Thanks