Results 1 to 4 of 4
  1. #1
    allaudin's Avatar
    allaudin is offline Senior Member
    Join Date
    Apr 2013
    Posts
    271
    Rep Power
    0

    Default Runiing application

    hy experts I want my application to run from the same position where I left it after restarting .say if I have a programme that takes input as string and store it .. next time when I run the same programmer it will the same string as I modified in last run .How it can be done ? by file handling ? or the other method ... tell me if you have any idea . Thanks in advance

  2. #2
    ShadowWalker is offline Senior Member
    Join Date
    Mar 2013
    Location
    Greece
    Posts
    113
    Rep Power
    0

    Default Re: Runiing application

    You can save your Data in a file and then everytime you start your program you will take them back from this files.. you want to know how can you do that?

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,254
    Rep Power
    19

    Default Re: Runiing application

    Take a look at java.util.prefs.Preferences and/or the Java Persistence API - Wikipedia, the free encyclopedia

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    allaudin's Avatar
    allaudin is offline Senior Member
    Join Date
    Apr 2013
    Posts
    271
    Rep Power
    0

    Default Re: Runiing application

    thanks shadow walker I know this method ... thanks

Similar Threads

  1. Replies: 0
    Last Post: 04-08-2013, 09:48 PM
  2. Replies: 3
    Last Post: 12-04-2009, 12:10 PM
  3. Replies: 1
    Last Post: 08-05-2009, 02:43 AM
  4. Replies: 0
    Last Post: 02-16-2008, 09:31 PM
  5. Replies: 0
    Last Post: 02-16-2008, 09:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •