Thread: java IO
View Single Post
  #2 (permalink)  
Old 12-31-2007, 06:55 AM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Quote:
Originally Posted by renars1985 View Post
Hi,
...
it resets my entered info each time I do Debug or Run. I what my data not to be overwritten each time.
If I understand your problem correctly, you need to save your user-entered data in your program so that every time you run your program the specific data entered can be retrieved, correct? First, of course it's going to reset your user-entered info every time you run your program. This is because your program is running in memory(RAM) which is temporary. If you want to have the ability to not have to rewrite your information every time you run your application then you need a method for writing to and retrieving the already saved data from your hard disk.
Reply With Quote