Saving, Loading and dislpaying information in a mulit-form project

juggernot

Well-known member
Joined
Sep 28, 2006
Messages
173
Programming Experience
Beginner
I am creating a keyboarding progam. My goal is for the user to be able to log in, and his words per minute, number of errors, etc. will be saved. My first form is the login/register form. When you register, it saves your information( username, password, wpm, etc.) as part of an arraylist. When you login this information should be loaded. This part of my program works perfectly. The second form is going to be the main menu, which will also display your average wpm and your # of errors. This is not working. The third form is the actual keyboarding part, where what the user types is compared two a sample string after a timer runs out. This part of the form accurately finds wpm and errors. When you exit this form, it should save your new information.

This is a very complicated program for me, so I'm having a little trouble. When I run my program I don't get any errors, and my program isn't disrupted. I believe this means that it is loading and saving 'correctly'. Sorry I couldin't give you a sample of the code, but I don't have it with me at the moment, and there is a lot of code to go through. If anyone knows where I might be making my mistake, could you please help me out?
 
Are you saving the info to files? Database? What exactly isn't working on your second form? A little more detail and I can probably help.
 
I am saving into files. I serialize the information when I save and deserialize it when I load. The second form is supposed to display your average wpm, total errors, etc. It displays all that information as zero, the value it is given at account creation. I don't know what the problem is, but It must be something with the saving, loading, or displaying. Remember, I get no errors, it just doesn't display properly.
 
Back
Top