Need help building an Address Book
Hello!
I am quite new too Java programing. In our course we have to design and build an Address book. One must be able to add contacts, edit (info), delete, sort by name and sort by zip. And it has to have a nice GUI. Since I really am not that sharp in JAVA, how do I begin? And where do I begin? Where can I find the information needed to build this?
Thanks in advance
If you have never done anything with/in Java, start here:
http://java.sun.com/docs/books/tutorial/getStarted/index.html
After you've mastered the syntax/beginning, read about classes and objects which you need to create your own classes. For example: Contact and AddressBook:
http://java.sun.com/docs/books/tutorial/java/javaOO/index.html
That AddressBook will have to hold some sort of collection which holds all your Contacts. Read about Java's built-in collection classes here:
http://java.sun.com/docs/books/tutorial/collections/index.html
Then you need to be able to sort the Contacts in the AddressBook. Read this tutorial about how to sort your collection:
http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html
When everything I posted above works, and your deadline hasn't expired yet, built a GUI around it. Read (a part of) this tutorial how to write GUI's in Java:
http://java.sun.com/docs/books/tutorial/uiswing/index.html
Good luck.