Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Save data entered upon reopening

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Lolo, Mt
    Thanked 0 Times in 0 Posts

    Default Save data entered upon reopening

    hey i was wondering if you could do something with your program or my programming software (eclipse) to allow it to save information entered without erasing everything and starting over every time i run the program.I've seen it done before but have no idea how to go about it, im writing a program that stores my business partners information and its 95% done can someone help me so it saves his information each time i start the program without editing the code to store his infromation.

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: Save data entered upon reopening

    You might have to be more specific. Saving preferences can be done with simple IO, saving a preferences file when the user exits and reading that file when the program starts. You could also use the Preferences class. See Java IO

Similar Threads

  1. Replies: 1
    Last Post: December 4th, 2010, 05:26 PM
  2. How and where do you save user settings?
    By snytkine in forum AWT / Java Swing
    Replies: 3
    Last Post: October 12th, 2010, 05:46 AM
  3. Need this to end when a negative number is entered
    By ponyexpress in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 28th, 2010, 09:02 AM
  4. Arraylist Save and Load
    By frankycool in forum Collections and Generics
    Replies: 1
    Last Post: November 14th, 2009, 06:48 AM
  5. Saving .jsp page as .pdf file while generating report for struts based web application
    By ravindra_kumar_tiwari in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: August 12th, 2008, 09:32 AM