Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

contacts.txt AcME Company Contacts Dara,Sampson, female,16, (936)765-7152,DSampson@Sampson.net Bethany,Williamson, female,91, (555)450-5159,BWilliamson@Williamson.com Lamar,Collins, male,73, (413)476-3683,LCollins@Collins.com Callie,Conley, female,49, (629)905-7544,CConley@Conley.net Illiana,Duncan, female,-89, (260)520-7926,IDuncan@Duncan.com Arsenio,Brady, male,64, (406)961-5429,ABrady@Brady.net Allen,Sheppard, male,28, (992)989-3407,ASheppard@Sheppard.com

image text in transcribed

image text in transcribed

contacts.txt

AcME Company Contacts Dara,Sampson, female,16, (936)765-7152,DSampson@Sampson.net Bethany,Williamson, female,91, (555)450-5159,BWilliamson@Williamson.com Lamar,Collins, male,73, (413)476-3683,LCollins@Collins.com Callie,Conley, female,49, (629)905-7544,CConley@Conley.net Illiana,Duncan, female,-89, (260)520-7926,IDuncan@Duncan.com Arsenio,Brady, male,64, (406)961-5429,ABrady@Brady.net Allen,Sheppard, male,28, (992)989-3407,ASheppard@Sheppard.com Scarlett,Humphrey, female,84, (360)472-5923,SHumphrey@Humphrey.net Astra,Mcclain, female,84, (237)617-1223,AMcclain@Mcclain.com Blaze,Burton, male,52, (749)177-6495,BBurton@Burton.net Signe,Anderson, male,78, (848)424-5349,SAnderson@Anderson.net Fiona,Mclaughlin, female,98, (545)291-8786,FMclaughlin@Mclaughlin.net Unity,Lara22, female,54, (803)525-9084,ULara@Lara.net Judah,Cox, male,41, (906)230-4178,JCox@Cox.net John,Moses, male,2, (324)767-2333,JMoses@Moses.com Dustin,Tate, male,11, (986)434-4278,DTate@Tate.net Reuben,Madden, male,110, (163)541-9030,RMadden@Madden.net Leandra,Hayden, female,31, (675)609-2600,LHayden@Hayden.net Nasim,Hooper, male,77, (388)115-7233,NHooper@Hooper.net Sylvester,Solomon, male,125, (324)428-1809,SSolomon@Solomon.net Tana,Blackburn, female,112, (298)497-3780,TBlackburn@Blackburn.net Summer,Meyers, female,179, (486)180-9197,SMeyers@Meyers.net Whitney,Juarez, female,97, (692)784-9614,WJuarez@Juarez.net Camille,Acosta, female,79, (393)431-9713,CAcosta@Acosta.net Philip,Howard, male,78, (598)949-3444,PHoward@Howard.net Colette,Ramirez, female,124, (883)396-1123,CRamirez@Ramirez.net Aspen,Norris, malE,39, (451)444-7899,ANorris@Norris.com Porter,Nash, male,7, (909)548-2234,PNash@Nash.com Steel,Cantu, male,39, (334)479-5217,SCantu@Cantu.com Edan,Nichols, male,102, (343)324-4381,ENichols@Nichols.com Kylynn,Morales, female,38, (777)806-4346,KMorales@Morales.com Nissim,Holloway, male,97, (849)607-8895,NHolloway@Holloway.net Jermaine, Mccullough, male,29, (123)340-y962,JMccullough@Mccullough.net Cheyenne,Cruz, female,45, (755)357-3014,CCruz@Cruz.net Jescie,Valenzuela, male,15, (940)515-3229,JValenzuela@Valenzuela.com Ulric,Rosario, male,6, (170)249-9049,URosario@Rosario.com Kirby,Morgan, male,125, (348)367-4318,KMorgan@Morgan.net Dean,West, male,34, (878)502-9705,DWest@West.com Tyrone,SEARS, male,96, (137)565-3953,TSears@Sears.com Robin,Powell, male,15, (403)713-4305,RPowell@Powell.snet Ashton,Chen, male,126, (513)198-3686,AChen@Chen.net Sybil,Richard, female,73, (580)576-2674,SRichard@Richard.net Ivan,Mack, MALE,123, (865)873-7816,IMack@Mack.com Maxwell,Lambert, male,26, (966)447-9315,MLambert@Lambert.com Christian,Kemp, male,35, (219)714-1970,CKemp@Kemp.com Sylvia,Webster, female,28, (191)445-7773,SWebster@Webster.net Holly,Ashley, female,47, (193)508-1015,HAshley@Ashley.net Inga,Newton, female,38, (916)500-6672,INewton@Newton.net Rana,Avila, female,38, (631)379-3065,RAvila@Avila.net Chase,Hyde, male,69, (431)852-7202,CHyde@Hyde.com Wendy,Fulton, female,120, (713)381-3293,WFulton@Fulton.net Lionel,Cardenas, male,75, (848)624-8726,LCardenas@Cardenas.com Martena,Madden, female,28, (560)658-4629,MMaddenMadden.net Charles,Franks, male,57, (893)858-3520,CFranks@Franks.net Leila,Carter, female,12, (293)611-1741,LCarter@Carter.com Alana,Herrera, female,10, (759)510-2979,AHerrera@Herrera.com Tucker,Tate, male,7, (117)982-9240,TTate@Tate.com Pearl,Snow, female,128, (918)730-5402,PSnow@Snow.com Fleur,Schneider, female,14, (714)970-9717,FSchneider@Schneider.net Venus,Herman, female,51, (864)194-8894,VHerman@Herman.com Mallory,Hood, female,40, (674)636-9191,MHood@Hood.net Uriel,Figueroa, male,48, (422)539-9903,UFigueroa@Figueroa.net Patricia,Adams, female,110, (812)852-2940,PAdams@Adams.com Katelyn,Gentry, female,52, (904)797-6468,KGentry@Gentry.com Fatima,Reid, female,111, (791)394-6525,FReid@Reid.net Mari,Cain, male,28, (735)285-6009,MCain@Cain.net Ivana,Blake, female,60, (113)573-1740,IBlake@Blake.com Wilma,Coffey, female,101, (464)169-1041,WCoffey@Coffey.com Kevyn,Cleveland, male,41, (180)786-9790,KCleveland@Cleveland.com Chaney,Cannon, male,111, (881)401-4358,CCannon@Cannon.com Adria,Charles, female,125, (373)194-5230,ACharles@Charles.com Harrison,Fulton, male,60, (418)590-9978,HFulton@Fulton.net Shad,Simpson, male,8, (434)527-6264,SSimpson@Simpson.com Channing,Walton, male,28, (605)347-2931,CWalton@Walton.net Yvette,Tanner, female,65, (912)806-8030,YTanner@Tanner.com Amos,Burton, male,106, (156)870-5196,ABurton@Burton.net Deanna,Gonzales, female,85, (572)163-8133,DGonzales@Gonzales.com Thaddeus,Gentry, male,7, (897)757-7992,TGentry@Gentry.com Darrel,Moran, male,68, (637)225-5222,DMoran@Moran.com Clementine,Ferrell, female,42, (790)571-3885,CFerrell@Ferrell.net Dieter,Cantrell, male,72, (238)726-4268,DCantrell@Cantrell.net Samson,Hobbs, male,89, (100)448-7011,SHobbs@Hobbs.net Kay,Mccullough, female,27, (492)831-9151,KMccullough@Mccullough.net Griffin,Mcpherson, male,64, (767)682-6812,GMcpherson@Mcpherson.net Dolan,Ball, male,128, (246)152-7614,DBall@Ball.com Wilma,Richardson, female,38, (655)672-1060,WRichardson@Richardson.com Savannah,Meyer, female,115, (248)996-9555,SMeyer@Meyer.com Eleanor,Carroll, female,58, (181)659-5279,ECarroll@Carroll.com Meghan,Weber, female,124, (516)512-2581,MWeber@Weber.net Yvonne,Cervantes, female,15, (203)656-5170,YCervantes@Cervantes.com Leslie,Rojas, female,87, (939)764-1118,LRojas@Rojas.com Olivia,Downs, female,119, (933)860-5889,ODowns@Downs.net Xanthus,Suarez, male,35, (249)641-7263,XSuarez@Suarez.com Asher,Riley, male,51, (298)980-9296,ARiley@Riley.com Walker,Lindsey, male,13, (578)654-3531,WLindsey@Lindsey.com Hayfa,Sanchez, male,80, (911)391-4830,HSanchez@Sanchez.net Kimberly,Cook, female,22, (498)185-6137,KCook@Cook.com

You will be creating a contacts application to store information about clients for a business. I will give you a GUI project that I developed and you will to provide the backend functionality for the GUI project by developing two classes: Client and Contactlist. The data for your application will come from a comma delimited file containing information about the clients. Ideally, you would use the validation methods to filter out contacts with issues. You are free to use the validation methods developed in the String Processing lab; however, it is not a requirement. You can just load al the records from the file this week. Note: You will have to modify the input method from the String Processing lab since I changed the input file format slightly by adding the name of the contact list as the first line of input (See the Input File Format section below). Sampson, Der Conley, Cae Brady, Anenie Conat Detai Fint Name Alen Last Name Sheppard Age 28 Step 1: Create a new project and name it ContactsModel. Next, create the Client class in this project under the contactsmodel package. Once you have finished adding the code for Client, test it out adding code to yur main method that declares and instantiates a Client object. Use the setter methods to modify some properties. Output the contents of the client object using the toString) and System.println() methods. Client Class: This class will model a single client. Client //Typically, any needed comments about each property would go over here. -firstname: String -lastname : String gender: String age: int -phone: String +Client) +Client( fn: String, In: String, gndr : String, Use Java default values for each property age int, phone: String, email : String) //Getters and Setters for each property toString(): String Use the String.format() from the String Processing lab so nice format output can be Step 2: Within the same project and package, create the Contactlist class (notice that "Contact" is not plural) At this point, you will want to set the Working Directory to where you saved your contacts.txt input file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions