Find Jobs
Hire Freelancers

Resizeable ArrayList in JFrame

$30-250 USD

Completed
Posted over 7 years ago

$30-250 USD

Paid on delivery
For this project, you will write a resizeable ArrayList class entitled "ContactsArrayList". Note that to get practice with algorithm development, we will not use the predefined class ArrayList. We will have to do extra work in order not to use that class since we will have to make sure we are not adding duplicate Contacts and we will have to resize the array if it gets full. We will simplify the project to work with one data type: class Contact. Class Contact will contain several elements: a uniquely assigned number (starting at 1), name, picture, and comment. The picture entry will be a string with the file name of the picture to be displayed with the Contact. The class should have a parameterized constructor to accept these values. Class ContactsArrayList will be based upon an array of class Contact. The initial array will be of length 1. When a new Contact is to be added, the program will determine if it already exists and report to the console if it does, or add the Contact if it does not. The addition is a duplicate if the current Contact name (case insensitive) is already an entry in the list. If the current array is full, a new array will be created and the existing items will be copied to it. The program should have capabilities to draw the current list of Contacts in a JFrame, add a contact and redraw, and delete a Contact and redraw. To delete a Contact, specify the Contact number. Do not use the ArrayCopy capability as part of the addition/deletion operations. Also, the program must be able to sort the Contacts and redraw the sorted list when you do. You must implement your own sorting routine. You may not use any predefined sorting capabilities. When the project runs: The program have minimal interaction with the user. When it runs the program should do the following: 1. create 5 contacts: Mick, Keith, Bill, Charlie, and Brian. They should show in a window. 3. Sort the contacts. They should rearrange in the window 4. Delete Brian (updated list without Brian should show) 5. Add Keith (this step should fail with an error message to the console). 6. Add MickTaylor. (updated list with MickTaylor should show) 7. Quit the program You must implement a JButton to be clicked in order to advance to the next event.
Project ID: 11586150

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$35 USD in 1 day
4.9 (18 reviews)
4.0
4.0
5 freelancers are bidding on average $105 USD for this job
User Avatar
Hello, i am expert in java/c/c++ and i can deliver your task in least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments. Pm me for further details. Thank You!
$80 USD in 1 day
5.0 (32 reviews)
4.3
4.3
User Avatar
We have a 1000+ employee in our company. So we can do any kind of project based on all languages and all stream...... We have 3 years+ experience employees for all stream especially C, C++Programming, Java, PHP, JavaScript, Web design, Graphic design, MySQL, .NET, Android, iPhone, Mobile Phone etc…., We are heartily welcome our projects.... ...................................................thank you..........................................................
$211 USD in 6 days
5.0 (2 reviews)
0.8
0.8
User Avatar
Good day! My name is k.R.. My principles are simple, clean and beautiful in the details. I am interested in your project because I have done similar projects in the past. I am always ready to push you towards your success. === - Also, my fee is within your budget. Price can be flexible and affordable for you. Please send me a reply to discuss in details. - I would like to use my experience to serve you better. You can trust my sincere attentiveness in both in quality and time. Count on me and I will ensure that you're satisfied with your project. - I have read and understand the project guidelines. I'm very interested in the project because it is in my area of expertise. I'm sure we can work well together. === $$$ You need to communicate with the world about the benefits of choosing your company, and I am the exact medium you need.. * Please let me know if you have any questions. I am looking forward to your positive response. === Many thanks, and I am always ready to work for you. Best regards, K.R
$111 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Crestview, United States
5.0
2
Payment method verified
Member since Sep 21, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.