Question
Ishmael Steele,1-168-305-6879 Magee Kerr,1-138-454-1488 Darryl Newman,1-625-946-0850 Tobias Emerson,1-443-352-5388 Jade Casey,1-963-309-2284 Jane Gonzalez,1-279-280-2889 Katelyn Sears,1-100-155-6737 Tamara David,1-251-819-8926 Jermaine Reilly,1-265-866-0567 Bianca Beach,1-959-460-5599 Stuart Butler,1-589-489-8072 Uta Douglas,1-524-652-9299 Flavia
Ishmael Steele,1-168-305-6879 Magee Kerr,1-138-454-1488 Darryl Newman,1-625-946-0850 Tobias Emerson,1-443-352-5388 Jade Casey,1-963-309-2284 Jane Gonzalez,1-279-280-2889 Katelyn Sears,1-100-155-6737 Tamara David,1-251-819-8926 Jermaine Reilly,1-265-866-0567 Bianca Beach,1-959-460-5599 Stuart Butler,1-589-489-8072 Uta Douglas,1-524-652-9299 Flavia Byers,1-728-897-3353 Ainsley Keith,1-896-348-0629 Xena Johnson,1-705-934-8296 Leonard Bernard,1-790-464-1341 Kennedy Flowers,1-749-326-2404 Ginger Merrill,1-195-219-1754 Eaton Walton,1-655-243-7614 Zachery George,1-163-246-5637 Austin Walsh,1-479-630-5902 Raja Cruz,1-879-772-1395 Baker Baker,1-155-373-0276 Zeus Spears,1-793-379-3986 Caesar Cantrell,1-973-178-2162 Piper Carver,1-773-559-3645 Imelda Oneill,1-670-562-6755 Shaeleigh Harrell,1-319-908-7254 Joshua Parsons,1-763-144-9926 Channing Buck,1-872-888-9753 Ursula Vargas,1-403-649-6648 Ima Christian,1-141-418-1505 Eric Cunningham,1-176-659-8394 Alec Cline,1-557-454-6020 Alice Hernandez,1-672-457-0031 Georgia Poole,1-609-614-7062 Hector Glenn,1-509-285-3492 Selma Moody,1-269-183-7886 Carl Hanson,1-713-778-4806 Steven Sullivan,1-558-525-5563 Kylie Orr,1-462-489-5406 Leslie Cortez,1-515-718-4932 Gabriel Burke,1-333-208-6806 Kennedy Petersen,1-465-848-8401 Venus Guzman,1-553-867-1578 Drew Clayton,1-846-779-2978 Melissa Douglas,1-958-508-1382 Len Ramirez,1-734-978-1887 Lisandra Allison,1-710-640-0215 Ivy Evans,1-178-439-6129 Perry Cohen,1-479-708-1776 Phyllis Leon,1-370-865-7284 Judith Heath,1-353-162-2917 Dennis Osborne,1-579-523-3677 Hermione Smith,1-448-253-0753 Keaton Velazquez,1-742-686-3142 Adena Gregory,1-632-684-1454 Zia Swanson,1-722-364-5700 Erin Aguilar,1-846-663-2746 Ariel Miles,1-558-804-1708 Bell Barton,1-238-313-7992 Rose Bishop,1-861-144-4843 Kevyn Sanchez,1-354-223-9876 Meghan Serrano,1-272-249-1316 Herrod Ayala,1-466-372-8685 Alan Macdonald,1-844-264-7579 George Keith,1-141-168-8728 Sara Clements,1-774-993-4141 Reece Gutierrez,1-121-711-5966 Micah Jensen,1-728-155-6148 Nissim Gonzalez,1-585-871-8268 Azalia Mcgee,1-185-257-7477 Allen Velazquez,1-534-427-1256 Bethany Lowe,1-410-967-3808 Wesley Terry,1-272-174-1357 Belle Price,1-889-990-0494 Emery Pickett,1-912-962-1201 Richard Jacobson,1-942-721-9761 Stella Mcintyre,1-617-758-5698 Griffith Skinner,1-784-206-8616 Benedict Shannon,1-733-599-8920 Blythe Raymond,1-143-713-4030 Jordan Preston,1-358-587-3208 Rylee Hatfield,1-208-249-3704 Chandler Jensen,1-532-977-9906 Kaitlin Warren,1-800-346-6056 John James,1-184-447-8392 Tyler Ross,1-181-113-5382 Grady Kemp,1-252-410-4800 Malachi Mccoy,1-835-392-0258 Laurel Mcdowell,1-187-152-9384 Christian Buckner,1-432-157-0514 Ila Le,1-979-166-4188 Wyatt Chase,1-915-829-4671 Damon Kidd,1-949-418-2678 Aubrey Harrell,1-564-311-4088 Julian Ferguson,1-247-747-8888 Holmes Mendoza,1-551-960-4994 Rudyard Green,1-308-350-2115 Barbara Rosario,1-502-262-3889
IN JAVE PLEASE
GUL Lab Write a Java program which will use a graphic user interface to look up the phone number associated with a specific name and vice versa. This program will be broken up into two parts, the back end and the front end. The back end component of this lab will consist of reading a list of names and numbers from a file and storing the information into Binary Search Trees. The front end component will consist of presenting the user with a graphical user interface to search the data. To implement this program, create a Java class called Phonebook. The Phonebook class must subclass the Erame, class. The Phonebook object should have two instance variables: two TreeMap objects named "names" and "numbers". (A third instance variable, "serialVersionUID may be automatically generated using Eclipse and is optional) When defining and initializing TreeMap objects we must specify a data type for the generic data types Key and Value. For both instance variables the y and Value data type s must be type String. In the Phonebook class, define a parameterized constructor which takes a single parameter of type File. The given text filewl contain name and number information, where each line of the file contains the information for a single person and their corresponding phone number. The name and number will be separated by a ' character. For example, a line of text would look like: Leslie Cortez, 1-515-718-4932 When the parameterized constructor is called, it should populate the names and numbers instance variables with thesc values. TresMa objects store a key value pair. To add a new key value pair to a TreeMap object, use the put method, which takes two parameters one of type Key and one of type Value. (These are generic types and in for this lab, the data type for both Key and Value should be String) The names instance variable should use the name as the key and the number as the associated value. The numbers instance variable should use the number as the key and the name as the associated value The parameterized constructor should also configure the Phonebook framc. Phonebook should have a height of 70 and a width of 670. The resizable property should be set to false and the default close operation should be set to "JFramcEXIT ON CLOSE The Phonebook frame should contain a ingle panel with four componcnts: two JTextFicld's of length 15 and two JButton's with text "Get Number and "Get Nam" respectively. The first text field will be used to input and display names, the second text field will be used to input and display numbers. The resulting GUI should look like the following image. NAME NUMBER Get Number Get NameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started