Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8709709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:25:58+00:00 2026-06-13T04:25:58+00:00

I have to creata a Dialog in Java with few fields like customer Id,

  • 0

I have to creata a Dialog in Java with few fields like customer Id, name etc. The behaviour of the dialog is that customer(s) can be selected by a check box and can be saved and closed. When the next time the user opens the dialog all the customers that have been previously selected should be seen selected and when the user selects a few new customers and presses the save button then only the new user are displayed.

So, my question is what are the ways in Java by which my application sees and remember what happened during the last run of the program and uses those old values during the recent run of it.

Two immediate questions which come into my mind now is that in what format shall i save the current customer values when the dialog is saved.

and

Which API/classes do i have to retreive those particular values from whatever file/ format they are saved in

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:25:59+00:00Added an answer on June 13, 2026 at 4:25 am

    You should serialize the objects whose state you need to maintain after program restart.
    When your program restarts deserialize all those objects and then use those deserialized objects for initializing the state of your objects.

    Have a look at serialization in java for a breif tutorial

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Login dialog that can create an alert dialog when the user
I have a YUI dialog that submits a form to a Java servlet. The
I have a question about joptionpane. Using JOptionPane.showMessageDialog(...), we can create a message dialog.
I have an action which create QMessageBox. In that dialog I want to print
Some background to this question can be found at Check printing with Java/JSP and
I have a DialogFragment that creates a listview dialog and on a list item
I have one activity/java file (Browsefile.java) that would obtain the absolute path of the
I have to create a simple WebApplication with Java which shows a Login Dialog
I have an Eclipse plugin that automatically loads existing Eclipse Java project to workspace,
I am working on a project that uses MDI form in java. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.