954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Basic Highscore system for a java applet

Is it possible to output a variable and/or a string to a text file?

JasonDoyle
Newbie Poster
10 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 
Is it possible to output a variable and/or a string to a text file?


Yes you can easily do it. http://java.sun.com/docs/books/tutorial/essential/io/
http://www.roseindia.net/java/beginners/java-write-to-file.shtml

gunjannigam
Junior Poster
147 posts since Aug 2009
Reputation Points: 40
Solved Threads: 15
 

I'm curious myself about the answer. His title says this is an Applet. So the problem is how to save info from session so session since i believe java applets cant write to local files. Would it be possible to save info server side? How would you identify that a given computer restarted the applet, short of having them create a login?

Mike

adams161
Posting Whiz in Training
281 posts since May 2008
Reputation Points: 31
Solved Threads: 27
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: