This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
whats the turtorial on loading previous information. what i mean for the hockey pool is if the person already has a league setup they click the button "resume" or something then itll just load the information from it. so that they dont have to start a new league everyday
Basically, the data needs to be stored somewhere outside of the JVM -- for example, on a hard drive. So the question becomes one of using Java I/O.
How exactly you go about doing this -- how complicated you make it -- depends on your application. It could be anything from a simple text file on the hard drive to serializing Java objects across a network.
I suggest starting with a text file. See the I/O section of the Java Tutorial or the I/O chapter of Thinking in Java.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Joined: May 03, 2006
ive already done a text file i just need to noe how to load things