Skip to content

An address book project using to learn some Java design concepts.

Notifications You must be signed in to change notification settings

trong0dn/BuddyAddressBook-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuddyAddressBook

An address book project used to explore some of the following Java concepts such as:

  • Model-View-Controller (MVC) design pattern
  • Object-orientated principles (OOP)
  • Refactoring
  • Graphic user-interface (GUI) using Swing components
  • JUnit4 for unit testing
  • Java serialization
  • SAX parsing of XML
  • Ant build configurations

Dependencies

  • OpenJDK v16.0.2 - A development environment for building applications, applets, and components using the Java programming language.
  • JUnit4 - A unit testing framework for the Java programming language.
    • hamcrest-core-1.3
    • junit-4.13.1

Program Execution

Run the app on Windows Command Prompt.

java -jar C:\filepath\BuddyAddressBook.jar 

Application Features

When the program first opens. We see an empty address book.

main1

Create a new Address Book

In order to add a new contact, we first must create a new address book. Then select the add menu item.

menu1 menu2

Add a Buddy Information

An address book entry is composed of a name, address, and phone number.

add

Buddy Information Entry

Note that the "#" is used as delimiters.

main2

Edit/Remove Buddy Information Entry

To modify an current address book entry, this can be done using the edit. Or select the remove menu item to delete an entry.

menu3

Save/Load Address Book

The current state of the address book can be store via the save feature which exports the address book via an XML format. Then any address book can be loaded back using the import feature using a SAX parser for XML.

menu4

Exiting the Application

When done, exit the program.

main3

Acknowledgement

Prof and TAs for feedback on this application.

Disclaimer

Copyright disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research.

Fair use is a use permitted by copyright statute that might otherwise be infringing.

About

An address book project using to learn some Java design concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages