Create a program with a JFrame that allows the user to enter a series of contacts’ names, ages, e-mail addresses, and cell phone numbers, Have the program create a file from the entered data. Validate the age entry to ensure that it is numeric and between 0 and 120. When the user inputs a value that is not a number between 0 and 120 provide an error to the user explaining the rule. Include information for three to five contacts.

Create a second program that reads the file that was created from the first program and displays the records in a JFrame. Display all entries in the list at once in the order that they were entered (sequential read).

 

ContactListWriter.java is the answer for #1 and ContactListReader.java is for #2.

    • 10 years ago
    Solution
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      contactlistreaderwriter.zip