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
- 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
Run the app on Windows Command Prompt.
java -jar C:\filepath\BuddyAddressBook.jar
When the program first opens. We see an empty address book.
In order to add a new contact, we first must create a new address book. Then select the add menu item.
An address book entry is composed of a name, address, and phone number.
Note that the "#" is used as delimiters.
To modify an current address book entry, this can be done using the edit. Or select the remove menu item to delete an entry.
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.
When done, exit the program.
Prof and TAs for feedback on this application.
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.