Phone book application example - Java
This post will show one example of a PhoneBook Application developed using Java language. All of the contacts will be store into a .txt file without using the database. This is an example only. You can change the layout or add some features to this example. Note: This tutorial using Netbean v 7.4 Step by step: Create a New Project and choose Java Application Rename Project Name to PhoneContact Delete file PhoneContact.java Add New JFrame Form under package phonecontact and change class Name to MainUI Drag and drop java Swing controller into frame. Refer MainUI below. ( Note: you can change the position of button as you like) Add new JFrame Form under package phonecontact and change class name to AddEditForm. Drag and drop java sing controller into frame, Refer AddEditForm image below. Create 2 Java Class. Contact.java and ContactsUtility.java. Copy paste the code behind of each java class and frame. MainUI code behind import java.awt.event.WindowAdapter; import java.awt.event.Win