posted 13 years ago
I am creating a program to have information entered into it and will store that into a csv file. I figure if I set rowSize variable at the top of the class so it covers the scope of the program I should be able to call a method to increment rowSize of the array and insert the new element into the new part of the array created. The program runs smoothly if I don't try and add the code to increment the rowSize and w (lines 144 & 145) but when they're run I get index out of bounds exceptions at line 150. What I'm I doing wrong to create this growing CSV file?
With the Error/output
Sorry for the length.