Write a Java GUI application that will keep track of a user’s contact list. The application must contain the contact mobile number, work number and email address.   Q.3.1 On the form, create a list box that will allow the user to select a contact name, which is populated from a text file. Also create a search button that when clicked will display the mobile number, work number and email address.      Q.3.2    Create a sequential file (contacts.txt) that contains data for the following fields:  The contact name;  The contact mobile number;  The contact work number;  The contact email address.    Q.3.3 Load the data from the contacts.txt file and populate the list box with the contact names. Include a feature to inform the user on the amount of contacts. Contacts:  Joe Bloggs 082 123 1234 011 123 1234 jb@gmail.com Jeff Jones 072 157 1545 021 555 5555 jj@gmail.com

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter14: Introduction To Swing Components
Section: Chapter Questions
Problem 5PE
icon
Related questions
Question

Write a Java GUI application that will keep track of a user’s contact list. The application must contain the contact mobile number, work number and email address.


  Q.3.1 On the form, create a list box that will allow the user to select a contact name, which is populated from a text file. Also create a search button that when clicked will display the mobile number, work number and email address.
     Q.3.2
   Create a sequential file (contacts.txt) that contains data for the following fields:
 The contact name;
 The contact mobile number;
 The contact work number;
 The contact email address.
   Q.3.3 Load the data from the contacts.txt file and populate the list box with the contact names. Include a feature to inform the user on the amount of contacts.

Contacts: 

Joe Bloggs
082 123 1234
011 123 1234
jb@gmail.com
Jeff Jones
072 157 1545
021 555 5555
jj@gmail.com

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,