Ok i just want to thank you for checking this out and helping me out. This is the problem, well not really problem, but this is what i want to do.
I have a bunch of textfields, when the "save" button is pressed, all the information is added to a database which is a bunch of arrays. This is all i have on that.
I want this information to go into these arrays.
Would someone explain how that would be done, please include some code. Please dont just write what should happen, because i wont be able to put it together. Im not asking you to do my homework, but i just need a place to start. This is only the beginning of this program, and im already lost. It might be easier to use arraylists??? Im uncertain how to use those exactly. Thanks for your time.
I have a bunch of textfields, when the "save" button is pressed, all the information is added to a database which is a bunch of arrays. This is all i have on that.
Code:
if (event.getSource() == Bok)
{
firststring = first.getText();
laststring = last.getText();
agestring = age.getText();
streetstring = street.getText();
citystring = city.getText();
}
Code:
String[] firsta = new String[30];
String[] lasta = new String[30];
String[] agea = new String[30] ;
String[] citya = new String[30];
String[] streeta = new String[30] ;
Comment