Results 1 to 4 of 4
  1. #1
    dientrinh is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default Need help with saving and displaying records

    Hello, I am a newbie to java Swing. I am doing a basic project on Library Management System. I don't know how to code to save and display records. Can anyone tell me which classes and methods I have to use?
    Thanks so much,

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    As the saying goes, "the devil's in the details". A library management system can vary between having a few array lists to having a huge 3-tiered application complete with database, business model, and GUI, all separate. So let's begin by your telling us your exact requirements and then by telling us what you've done so far and what you think the next big and small steps should be.

    Much luck and welcome to the forum!

  3. #3
    dientrinh is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default

    Thanks for your replying
    What I have done is I created GUI and components to fill information about new records. Example, When I click a Menu Item (Add New Book) on Menu. It displays a new window to fill in information about records such as Name of book, year of public...I have done to this step. Now what i want is when I click on Save Button It will save information about records I just filled and when I click Display Button It will display books I have added
    Thanks

  4. #4
    nitinverma is offline Member
    Join Date
    Mar 2010
    Location
    New Delhi,Vadodara
    Posts
    50
    Rep Power
    0

    Default

    For saving and Fetching the records U should use Database Like MS-Access.
    For Using the database U have to import Package java.sql.*;
    This Package Contains all the Classess and Methods for the Database.

Similar Threads

  1. Throttling records
    By jitman in forum New To Java
    Replies: 0
    Last Post: 03-11-2010, 06:18 PM
  2. Moving records from one Arraylist to another?
    By JavaStudent23 in forum New To Java
    Replies: 4
    Last Post: 02-17-2010, 09:52 PM
  3. insert records
    By rudravaram in forum JDBC
    Replies: 3
    Last Post: 01-03-2010, 05:54 PM
  4. How to delete the records
    By kiran kumar in forum Java Servlet
    Replies: 6
    Last Post: 11-09-2008, 01:16 PM
  5. Getting number of records (JDBC 2.0)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-11-2008, 08:51 AM

Posting Permissions

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