Presentation is loading. Please wait.

Presentation is loading. Please wait.

Address Book in JAVA By www.PPTSWorld.com. What is Address Book Address Book is book or database used for storing entries called contacts Each contact.

Similar presentations


Presentation on theme: "Address Book in JAVA By www.PPTSWorld.com. What is Address Book Address Book is book or database used for storing entries called contacts Each contact."— Presentation transcript:

1 Address Book in JAVA By www.PPTSWorld.com

2 What is Address Book Address Book is book or database used for storing entries called contacts Each contact entry usually consists of a few standard fields for eg name, address, phone no. etc The operations like adding, sorting, searching, deleting etc is done on the entries

3 Why Address Book A software Address Book is easier to use than a paper Address Book a variety of operations can be performed easily on it. Address Book is thing which is useful to all users as being social entities from a child to an old man all have contacts and it provides an easy tool to manage contacts

4 Java provides platform independency so use of java in this project has increased its dimensions This Address Book is for online and offline both users

5 JAVA It was developed by James Gosling at Sun Microsystems and was released in 1995 Architectural neutral and portable Robust and secure Interpreted and threaded

6 JVM A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use a virtual machine model for the execution of other computer programs Bytecode is the jvm’s version of machine code Jvm not only runs java generated bytecode Jvm provides ‘write once run anywhere’ to java programs

7 Address Book-The Project There are 3 classes -AddressBook -OperationHandler -Contact

8 AddressBook Implements ActionListener. Make frame. Add panel. Add menu. Create reference of OperationHandler.

9 AddressBook Methods Constructor -Create frame for AddressBook -Set position of frame Add widgets -Add buttons to panels -Options & Help to upper panel -Add, Delete,Search,Sort,View all to lower panel

10 -Join each button to corresponding action. Action Performed -Ladder of IF-ELSEIF -Catch correct action -Call Operation Handler methods

11 Contacts Implements Serializable. Create variables to store values. -first name, last name, nick name - e-mail, phone number, address -birthday.

12 Contacts Methods Defines Setter & Getter methods. - All these methods are public - All variables of type string -Set the values for all variables

13 Operation Handler Implements Action Listener,Runnable. Main Class: All operations defined. Serialize & Deserialize Contact Class. Create Threads for each button. Create frame for each button.

14 Operation Handler Methods Add new -Create frame for button Add new -Put labels on panels -Accept text entered Search contacts -Create frame for button Search -Display type of search accepted -Show results of search

15 Sort contacts -Create frame for Sort buttons. -Ask for order of search. - Modify contacts in sorted order. Delete contacts -Create frame for Delete buttons. -Delete selected contacts one by one. -Modify list after deletion.

16 View All Contacts -Create frame for View All button. -Show all contacts in list. Action performed - Check for normal Execution -Report if any problem

17 Future Implementations The project is general purpose now It can be specialized such as for a doctor patient details for a manager employee details etc by expanding respective fields. It can be made online also The image options fields can also be added.

18


Download ppt "Address Book in JAVA By www.PPTSWorld.com. What is Address Book Address Book is book or database used for storing entries called contacts Each contact."

Similar presentations


Ads by Google