Donate SIGN UP

Java programmers, please help !!!

Avatar Image
mc_reload | 13:48 Thu 30th Jun 2005 | Technology
3 Answers
Hi, i am trying to complete a java applet and need some help. I want to create an applet which can act as a survey. I have already created it so that it recognises what has been selected, and then adds 1 to a variable. I am hoping to allow the applet to store previous selections and then they can be recalled when they are needed. I am only a begginer so a simple explanation, or some one on one help would be really helpful, i can contact through email. Thankyou. Matt 
Gravatar

Answers

1 to 3 of 3rss feed

Best Answer

No best answer has yet been selected by mc_reload. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
You could try writing the variables to a text file everytime the applet closes. When the app loads, read the variables back into the program from the saved file.
Question Author
Thanks for the idea, but do you have any idea on how to do this?? Would it be helpful for the file? thanks alot
I've no idea if it's different for an applet but I've probably got an old program of mine in java that reads from a text file and writes to it.

The first set of 3 files I've found go a roundabout way of writing to a file : using a "container".

The second file I've found is simpler and shows you initially how to read from a file. Look here for excerpts:
http://www.stevie21.f2s.com/java.txt

1 to 3 of 3rss feed

Do you know the answer?

Java programmers, please help !!!

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.